 Eventually, the club were relegated to the Scottish Championship on the final day of the season.At the end of the 2016–17 season, he went on to make forty–four appearances and scoring seven times in all competitions.On 30 March 2017, Tansey signed a pre-contract agreement with Aberdeen, with a 3-year deal to start on 9 June 2017.