Blair was commissioned as a Lieutenant in the Royal Engineers in February 1886. After serving in Hong Kong he was appointed Instructor in Fieldworks at the Royal School of Military Engineering at Chatham. In March 1896 he was promoted to Captain and became an Instructor at the Royal Military Academy from 1898 to 1903. Promotions to Major, in 1904, and Lieutenant-Colonel, in 1912, followed. During World War I Blair served primarily in Egypt and Palestine. He arrived in Alexandria in January 1916 and was appointed Chief Engineer for the Cairo District before being promoted to Colonel and then temporary Brigadier-General and made Chief Engineer for part of the Suez Canal between El Ferdan and Port Said, during which time he was Mentioned in Dispatches. In October 1916 Blair was charge of water supply works to support the advance of British forces into Palestine. Pipelines were laid under Blair's leadership across the Sinai Desert from El Qantara, Egypt, first to El Arish in northern Sinai and then extended to Rafah in Palestine. The pipeline was completed after the Second Battle of Gaza in April 1917. Whilst the works were ongoing Blair was awarded the Order of St Michael and St George in the 1917 New Year Honours. Before the completion of the pipeline works Blair returned to England in March 1917 and served in the London Defences area. He was found medically unfit for services in February 1918 suffering from neurasthenia, a condition he had first suffered from in 1903. He was found permanently unfit for service in July 1918 and retired with the honorary rank of Brigadier-General in August. He was awarded the Silver War Badge.
Cricketing career
Blair played cricket regularly for the Royal Engineers Cricket Club until 1905, scoring over 500 runs in five seasons and captaining the side in 1892 and 1893. He also played racquets, winning the Army Doubles Championship several times. He appeared in seven first-class cricket matches for Kent County Cricket Club, five in 1893 and one in each of the 1896 and 1900 season. In his first-class debut he scored 61 runs against Gloucestershire County Cricket Club at the County Ground, Bristol, form which his Wisden obituary said that he "never regained". He was described as a strong defensive player "with plenty of strokes" who "bowled slow leg-breaks and fielded admirably". He became a member of MCC in 1894 and played for them against Hertfordshire at Lord's in 1902. Whilst posted overseas he played for Hong Kong Cricket Club in five games in 1890 and 1891.
Later life
Blair suffered from neurasthenia for the remainder of his life after retiring in 1918. He lived in Bath and was supported by his wife Nora. He died in St Andrew's Hospital in Northampton in May 1939 aged 72.