Change a number
This article will run through how to change the number of user and resource accounts.
User account
For numbers bought through Microsoft
- Logon to Teams Admin Center
- Voice > Phone numbers
- On the Phone numbers page, select an unassigned number in the list, and then click Edit.
- In the Edit pane, under Assigned to, search for the user by display name or user name, and then click Assign.
For numbers bought through a carrier like Gamma/Pure-IP etc - using Direct Routing
At the time of writing, Teams have now released the ability to assign a Direct Routing number through the Teams Admin Center
Assign number through Powershell
- Logon to Teams through Powershell
Connect-MicrosoftTeams
Issue the following command to enable Enterprise Voice, HostedVoicemail and the Number for a user:Set-CsUser teams.user@domain.com -EnterpriseVoiceEnabled $true -HostedVoicemail $true -LineURI "tel:+441912134789"
Assign number through Teams Admin Center
- Browse Users > Manage users
- Under Account > General information click Edit
- The Assign phone number window will appear
- Phone number type: Direct Routing
- Assigned phone number: 441912342345
- Phone number extension: blank
Resource account
Assign phone number to Auto-Attendant
- Logon to Teams through powershell and issue the following commands:
Set-CsOnlineApplicationInstance "ra.aa.marketing@domain.com" -OnpremPhoneNumber "+442081064321"