Colyear was commissioned into the Army of William of Orange in 1674, becoming Lieutenant-General of the Scots Brigade, the three Scottish regiments which had been fighting in the service of the Netherlands for many decades.
He took part in the War of Spanish Succession and participated in the Battle of Cádiz in 1702 and the Battle of Vigo Bay later that year.