MacGregor's experience with native races led to his being appointed administrator of British New Guinea in 1888.
MacGregor assisted in the inauguration of the University of Queensland, he agreed to the handing over of his residence Old Government House to be its first home, and one of his first acts as governor was to attend the dedication ceremony on 10 December 1909.