Mehmed Ali kept Friday prayers and coinage in the Sultan’s name after invading

Evidence

Furthermore, after his armies had defeated the Ottomans in these successive battles and when the imams of various city mosques asked whose name should be mentioned in the Friday prayers, Mehmed Ali’s or Sultan Mahmud’s, they were answered that they should continue to use the Sultan’s name. This caused Ibrahim to be so distressed that he wrote a strongly worded letter to his father urging him to order the use of his name in the prayers and to start minting coins in his name. … Still, it was only in 1838 that Mehmed Ali decided to get rid of the Ottoman suzerainty altogether and to ask for independence. For the seven-year period from the inauguration of hostilities and up to that time the Pasha was only claiming to be after reforming the Ottoman Empire. — Khaled Fahmy, All the Pasha_s Men_ Mehmed Ali, his…, 182