Harvie made his first-team debut for Aberdeen as an injury-time substitute in a Scottish Premiership match against Partick Thistle in 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.
He was called up to the Scotland under-19 squad in August 2016. Harvie was named in the Scotland U19 squad for the elite round of the European Championships in March 2017 alongside Dumbarton teammate Ross McCrorie.