MS Teams - Assign Numbers For CallTower
This article is intended for CallTower Teams Direct Routing customers who do not have a service/admin account for 365 in CallTower Connect. The user must be created in CallTower Connect and assigned a phone number prior to performing these steps in the Teams Admin Center.
Login into the Teams Admin Center as a 365 Global Administrator or Teams Administrator: https://admin.teams.microsoft.com
On the left-hand side click on Users>Manage users
Search for the user that needs to have a direct routing number added and click on the Display name
Under the Account tab click Edit next to General information
Add the phone number to the assigned phone number field in the format shown below with the 1 in front and then click Apply
To Remove the number just blank out the Assigned phone number field then click Apply
This message will pop up , click Wait
Click on Policies and then click Edit next to Assigned policies
Scroll down to Voice routing policy and drop down to select CallTower Route then click Apply.
To remove the voice routing policy drop-down, select Global then click Apply.
PowerShell Cmdlets to remove numbers and assign numbers
You must connect to the Microsoft Teams PowerShell Module using a 365 Global Administrator or Teams Administrator account.
To remove the number from the user
- Remove-CsPhoneNumberAssignment -Identity email@example.com -RemoveAll
- Grant-CsOnlineVoiceRoutingPolicy -Identity firstname.lastname@example.org -PolicyName "$null"
To add the number to the user
- Set-CsPhoneNumberAssignment -Identity email@example.com -PhoneNumber +18015551212 -PhoneNumberType DirectRouting
- Grant-CsOnlineVoiceRoutingPolicy -Identity firstname.lastname@example.org -PolicyName "CallTower Route"