Modghari was the director of the Casablanca-based Bayt Mal Al Qods Asharif Agency of the Organization of the Islamic Conference, an organization devoted to safeguarding the city of Jerusalem and its religious, architectural, and cultural heritage, as well as providing developmental assistance to the people and institutions of Palestine. Modghari previously represented the late King Hassan II as the long-term Minister of Endowments and Islamic Affairs of the Kingdom of Morocco.