In February 2009, he was appointed Mayor of Antananarivo by President Marc Ravalomanana to replace Andry Rajoelina, who was removed from the office after declaring himself the leader of Madagascar.
[3] In response, President Marc Ravalomanana's Minister of the Interior announced Rajoelina's removal from office.
[2][3] He appointed Randrianarisoa as the provisional mayor and head of a special delegation to govern the city.
[2][3] Upon taking office, Randrianarisoa described himself as "a technician and not as a politician," noting that he was not a member of President Ravalomanana's Tiako I Madagasikara party.
[6] He told the newspaper La Vérité that the trip was not about fundraising, but about forming relations with other countries.