Skip to main content
CallTower Solutions Center

MS Teams Direct Routing - OneStream: Assign Numbers

How To Assign Direct Routing Numbers for OneStream Direct Routing

Login into the Teams Admin Center as a 365 Global Administrator or Teams Administrator

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

clipboard_e1577083cb1903b97f90a6fb3214dad5b.png

Under the Account, tab click "Edit" next to General information

clipboard_e9505db74ae0ac90b0bff1511b024f134.png

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" then click Apply

clipboard_e2704abe32cdf0c15bfa564a871706788.png

This message will pop up and then click  "Wait"

clipboard_eb38193fea0411e09548b2a866ff10b47.png

Click on "Policies" and then click "Edit" next to "Assigned policies"

clipboard_ed29be0b5333e16ccc018947fe9dca6f7.png

Scroll down to "Voice routing policy" and drop-down to select "VP_OneStream" then click "Apply."

To remove the Voice routing policy drop-down select "Global" then click "Apply."

clipboard_ea16a13f03955e07b72f0e634e1fbac8c.png

 

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 username@domain.com -RemoveAll

Grant-CsOnlineVoiceRoutingPolicy -Identity username@domain.com -PolicyName "$null"

 

To add the number to the user

Set-CsPhoneNumberAssignment -Identity username@domain.com  -PhoneNumber +18015551212 -PhoneNumberType DirectRouting

Grant-CsOnlineVoiceRoutingPolicy -Identity username@domain.com -PolicyName "VP_OneStream"

 

 

 

 

  • Was this article helpful?