The fact that Russia succeeded in influencing the election through false news, trolling, and computer hacks totally undermined the legitimacy of the election.  If  that was Putin's objective, he clearly was successful. 
Of course no one can measure definitively how much influence Russia had on the election, but certainly it was a factor. 
Trump is an illegitimate president any way you look at it.