At the end of February 830, Abdawayh was appointed resident governor of Egypt by Abu Ishaq (the future caliph al-Mu'tasim, r. 833–842) in the aftermath of Abu Ishaq's campaign to put down a rebellion in the province. Abdawayh himself was soon forced to deal with an uprising in the Hawf district in Lower Egypt, but his forces fought against the rebels in the autumn of the year and eventually defeated them.