As a member of the Liberal Party, Miles represented the constituency of Fredericton-Silverwood in the Legislative Assembly from 2006 to 2010.
A former member of the Canadian Forces, Miles was a businessman in Fredericton prior to entering politics.
On July 24, 2009, he was added to the province's cabinet as Minister of Environment under premier Shawn Graham.
[2] Miles lost his bid for re-election in the 2010 general election to Progressive Conservative candidate Brian Macdonald.
In 2012, an extended conflict of interest probe into Miles ultimately concluded with the provincial conflict-of-interest commissioner declining to recommend a further investigation.