In 2007, Qazi was appointed as a special representative of UN Secretary-General Ban Ki-moon in Sudan. He completed his tenure in Sudan in 2010. Between 2004 and 2007, he was the Special Representative of the Secretary-General in charge of the United Nations Assistance Mission in Iraq.[1]