I am trying to connect to teams via powershell in adaxes to run the following commands. 
Set-CsUser -Identity  -EnterpriseVoiceEnabled $true -HostedVoiceMail $true Grant-CsOnlineVoiceRoutingPolicy -Identity  -PolicyName “(policyname)”
Grant-CsCallingLineIdentity -Identity  -PolicyName "(policyname)"
I am not able to run the following though, 
Connect-MicrosoftTeams