Forum Discussion
Teams Direct Routing : Set-csuser not available
- Sep 11, 2020For anyone who gets this, you need to have the Skype for Business Administrator role within Azure AD to have the commands brought in, having Teams Service Administrator isn't enough!
sp-jmglade Thanks for this. I banged my head against this for hours, and even the Microsoft Support rep didn't think about this. It's surprising that they've merged so much functionality into the Teams admin center/role, but haven't merged some of the PowerShell commands into the Teams Admin role.
- StephanGeeNov 26, 2020Iron Contributor
I am using the new stable Teams Powershell as "Global Admin" - but i also do not have the set-csuser.
Back to installing the Skype Online Powershell
- Ahmed_FarhanFeb 24, 2021Copper Contributor
can you explain to me how to install the Skype Online Powershell because i have the same issue Set-CsUSer is not working?
- StephanGeeFeb 24, 2021Iron Contributor
Install the Teams PowerShell Module but instead to Connect-MicrosoftTeams use
Import-Module MicrosoftTeams
$sfboSession = New-CsOnlineSession
Import-PSSession $sfboSessionInstall Microsoft Teams PowerShell - Microsoft Teams | Microsoft Docs