Contributor

I am currently unable to add new users to our Direct Routing setup in MS Teams.  This is broken since the S4B module was deprecated.

 

Some basics...

 

I am running Powershell v5.1

I have installed module Microsoft Teams v2.5.1

I am 'connected' to MicrosoftTeams module as a Global Admin who also has the S4B Admin role assigned (although it should need a separate role assignment).

I have 'imported' the Microsoft Teams module

 

I am trying to run:

Set-CsUser -Identity "xxxxx@yyyyy.org" -OnPremLineURI tel:+44000000000 -EnterpriseVoiceEnabled $true -HostedVoiceMail $true

 

I receive back:

Set-CsUser : The 'Set-CsUser' command was found in the module 'MicrosoftTeams', but the module could not be loaded. For more information, run 'Import-Module MicrosoftTeams'

 

 

If I try:

Set-CsOnlineVoiceUser -Identity "xxxx@yyyy.org" -TelephoneNumber tel:+440000000000

 

I receive back:

Set-CsOnlineVoiceUser : The 'Set-CsOnlineVoiceUser' command was found in the module 'MicrosoftTeams', but the module could not be loaded. For more information, run 'Import-Module MicrosoftTeams'

 

'Import-Module Microsoft Teams'  has already been run and running it again does not provide any additional information.

 

None of the cmdlet reference guides Microsoft have published even list the cmdlets from the S4B module that needed to be used for Enterprise Direct Routing so this leads me to ask...

 

1) When will Microsoft update the documentation for the new MicrosoftTeams module to include the full cmdlet list?

 

2) What commands 'should' I be using to add users to our Direct Routing and to grant OnlineVoiceRoutingPolicy (s)?

 

Many thanks in advance to anyone who has the answers.

 

 

www.000webhost.com