Career
He represented the constituency of Padang Besar in Perlis. Azmi"s first ministerial appointment was as Minister for Rural Development, becoming the first Cabinet minister from Perlis. He became the Minister for Home Affairs in 2004, before moving to the Ministry of Natural Resources and Environment in 2006.
He lost his Cabinet position after the 2008 election for reasons tied to his involvement in political disruption in Perlis.
He did not re-contest Padang Besar in the 2013 election. In 2005, Azmi married television personality Normala Shamsuddin.