I am also located in Australia and use Telstra / Teams Phone in my organisation. Hi Ben & Adam, First of all thank you for this post, it was very helpful. I’d suggest testing and migrating soon, before you miss the April deadline of the command being dropped. The options for -PhoneNumberType (required) are DirectRouting, CallingPlan and OperatorConnect. Read the documentation for more details Set-CsPhoneNumberAssignment -Identity -PhoneNumber +61987654321 -PhoneNumberType CallingPlan ![]() The new cmdlet Set-CsPhoneNumberAssignment doesn’t work exactly the same way as the old cmdlets. If you’re feeling really brave, you can update all your modules with: Update-module *ĭisconnect or restart PowerShell or you’ll get problems running the new cmdlet if you had it connected while updating. To update, run the command: Update-module MicrosoftTeams Check the spelling of the name, or if a path was included, verify that the If you don’t have a version that supports this new command, you’ll get the error: Set-CsPhoneNumberAssignment : The term 'Set-CsPhoneNumberAssignment' is not recognized as the name of a cmdlet,įunction, script file, or operable program. They run under the MicrosoftTeams module for PowerShell, but you also need to make sure you have the latest version. Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment I’d been allocating numbers with the Set-CsOnlineVoiceUser command. ![]() In summary, these commands are being deprecated “The retirement is planned to begin in early April and be complete by mid-April.” :Īnd Set-CSUser can’t be used to allocate phone numbers either. Microsoft has sent out an announcement on PowerShell changes for setting and removing phone numbers in Microsoft Teams:Ĭhanges coming to phone number assignment using Teams PowerShell Module cmdlets
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |