Forum Discussion
Teams Direct Routing : Set-csuser not available
Hi,
I'm trying to set the number & enable a user for Enterprise voice, but I'm getting an error that the term 'set-csuser' is not recognized. I've installed the latest version of the SkypeOnline Powershell module & also the Teams Powershell module: https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
Currently I can't enable any new user for enterprise voice or assign them numbers.
Has anyone got any ideas?
Thanks,
Joni.
- For 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!
15 Replies
- sp-jmgladeIron ContributorFor 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!
- ER-NASCopper Contributor
sp-jmglade your fix worked, Thank You!! How is it that MS references Set-csuser for Teams in multiple documents but never indicates that you must have Skype rights. Then the error produced just tells you that the command is not recognized, at least the error should say you don't have sufficient rights!
- Alex CarlockIron Contributor
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.
- StephanGeeIron 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
- sp-jmgladeIron ContributorJust to add, this did work until a few months ago, it's been a while since I've had to do it but has worked previously without issue. It does seem to import the other commands (ie. get-csonlineuser)....