Forum Discussion
TheGarrison
Jun 24, 2022Copper Contributor
Set-CsUser Deprecated in the last 24 hours??
I have gone to enable anew user for enterprise voice, a DDI and voicemail this morning and run: Set-CsUser -Identity "email address removed for privacy reasons" -EnterpriseVoiceEnabled $true -Hos...
- Jun 27, 2022
Managed to fix it yes, for anyone else coming here the new\correct syntax for enabling someone with a DDI is:
Set-CsPhoneNumberAssignment -Identity "email address removed for privacy reasons" -PhoneNumber +4412345678 -PhoneNumberType DirectRouting
(if its direct routing, you may require a different vaue)
jangliss
Jun 24, 2022Iron Contributor
Can you provide an example of your usage for the `Set-CsPhoneNumberAsssignment` and the error you got?
As for the deprecation of the old Teams modules, Microsoft announced the deprecation of the earlier modules, and move to the newer 4.x code https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-supported-versions
As for the deprecation of the old Teams modules, Microsoft announced the deprecation of the earlier modules, and move to the newer 4.x code https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-supported-versions
TheGarrison
Jun 27, 2022Copper Contributor
Managed to fix it yes, for anyone else coming here the new\correct syntax for enabling someone with a DDI is:
Set-CsPhoneNumberAssignment -Identity "email address removed for privacy reasons" -PhoneNumber +4412345678 -PhoneNumberType DirectRouting
(if its direct routing, you may require a different vaue)