Teams Resource Accounts: assigning Calling Plan & Direct Routing Numbers

You can assign Calling Plan Numbers (Microsoft hosted) and Direct Routing Numbers (bring your own) via PowerShell.

Calling Plan numbers using Set-CsOnlineVoiceApplicationInstance and -TelephoneNumber

Set-CsOnlineVoiceApplicationInstance -Identity TechSupportCallQueue@x500.co.uk -TelephoneNumber +441914980007

And Direct Routing numbers using Set-CsOnlineApplicationInstance  with -OnpremPhoneNumber

Set-CsOnlineApplicationInstance -Identity TechSupportCallQueue@x500.co.uk -OnpremPhoneNumber +441914980007

2 comments

  1. If you’ve ended up here looking for a solution to this error: “A parameter cannot be found that matches parameter name ‘OnpremPhoneNumber'”, it’s because you’re using Set-CsOnlineVoiceApplicationInstance. For Direct Routing (bring your own) numbers, you need to use Set-CsOnlineApplicationInstance.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s