Harvie made his first-team debut for Aberdeen as an injury-time substitute in a Scottish Premiership match against Partick Thistlein March 2016.
Harvie joined Scottish Championship club Dumbarton on loan in August 2016. He scored his first senior goal for the club in a 4–4 draw with Ayr United in December 2016. He extended his loan until the end of the season in January 2017. Following 34 appearances and 3 goals, he picked up the club’s Young Player of the Year award at the end of the season.