Jun 24 2022 02:17 AM
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 -HostedVoiceMail $true -LineURI tel:+4412345678
However, it now says i need to run Set-CsPhoneNumberAssignment however that doesnt work either as it doesnt like the input parameters.
Cant see anything, anywhere online as to alternatives
Can anyone point me to any official announcement they have made with alternative powershell?
Thanks
Jun 24 2022 12:34 PM
Jun 27 2022 03:04 AM
SolutionManaged 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)
Jun 29 2022 12:42 PM - edited Jun 29 2022 01:21 PM
Editing my own response:
This deprecation message occurs on server side.
You can confirm that by last line of error message:
+ FullyQualifiedErrorId : InternalServerError,Microsoft.Teams.ConfigApi.Cmdlets.SetCsUser
It's an InternalServerError.
You must update your server side to avoid this errors.
Jun 30 2022 09:13 AM
Jun 27 2022 03:04 AM
SolutionManaged 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)