Legge was granted the rank of brevet major on his return to Australia. In 1904 he published a handbook on military law. Then on 1 September 1904, he was promoted to major and given the post of Deputy Assistant Adjutant General at Second Military District Headquarters in Sydney. In 1907, he began working with Colonel William Bridges at Army Headquarters in Melbourne. With the rank of temporary lieutenant colonel, Legge became Quartermaster General and a member of the Military Board in January 1909. He was promoted to the substantive rank of lieutenant colonel on 17 December 1909, the military Board failure to endorse his promotion.