Skip to main content

Enterprise Guide to Unassigned Number Routing in Microsoft Teams

Note: I start using Substack for my articles please please follow at Madushka Dias writes | Kloud | Substack

Teams Voice Configure routing options for unassigned phone numbers 

Deprovisioned users still receiving calls 

Legacy telephony world this feature it called many words - Catch-all routing, Default destination routing, Vacant Number routing etc. This feature was introduced beginning of 2025 to most of the Tenants by Microsoft. This will fix lot of lost calls to route back to Voice application (Auto Attendant), Greeting or Person in Organization.

Every organization today at least maintain a room of 10-20% DIDs for future, if it is multinational, it will be every country and region sometimes.

Unassign Number routing in Teams will takecare all the unused, unassigned DID will provide meaning full option instead of unrouteable call.

Understanding media flow 


Following diagram AI created for me, first of did by #ClaudeAI and second did by #Copilot

Following diagram build by #Copilot

Following diagram build by ClaudeAI

  


PowerShell and Teams Admin Center

PowerShell Script you can find below copy or Github Teams_unassigned_number_template.html also made a HTML GUI, if organization do lot of expansion this will help every time when you add unassigned number range to TAC.

# --- DE BER Reception AA ---

$RAOId = (Get-CsOnlineApplicationInstance -Identity SL-BER-Reception-AA@kloudnews-uc.onmicrosoft.com).ObjectId

New-CsTeamsUnassignedNumberTreatment -Identity “DE BER Reception AA” -Pattern “\+4930(XXXXXX[0-9])$” -TargetType ResourceAccount -Target $RAOId -TreatmentPriority 1

# --- FR PAR Reception AA ---

$RAOId = (Get-CsOnlineApplicationInstance -Identity SL-PAR-Reception-AA@kloudnews-uc.onmicrosoft.com).ObjectId

New-CsTeamsUnassignedNumberTreatment -Identity “FR PAR Reception AA” -Pattern “\+331(XXXXXX[0-9])$” -TargetType ResourceAccount -Target $RAOId -TreatmentPriority 2

# --- IT ROM Reception AA ---

$RAOId = (Get-CsOnlineApplicationInstance -Identity SL-ROM-Reception-AA@kloudnews-uc.onmicrosoft.com).ObjectId

New-CsTeamsUnassignedNumberTreatment -Identity “IT ROM Reception AA” -Pattern “\+3906(XXXXXX[0-9])$” -TargetType ResourceAccount -Target $RAOId -TreatmentPriority 3

# --- ES MAD Reception AA ---

$RAOId = (Get-CsOnlineApplicationInstance -Identity SL-MAD-Reception-AA@kloudnews-uc.onmicrosoft.com).ObjectId

New-CsTeamsUnassignedNumberTreatment -Identity “ES MAD Reception AA” -Pattern “\+3491(XXX XXX[0-9])$” -TargetType ResourceAccount -Target $RAOId -TreatmentPriority 4

# --- NL AMS Reception AA ---

$RAOId = (Get-CsOnlineApplicationInstance -Identity SL-AMS-Reception-AA@kloudnews-uc.onmicrosoft.com).ObjectId

New-CsTeamsUnassignedNumberTreatment -Identity “NL AMS Reception AA” -Pattern “\+3120(XXXXXX[0-9])$” -TargetType ResourceAccount -Target $RAOId -TreatmentPriority 5

At our customer environments, we work extensively with Microsoft Teams Direct Routing and Operator Connect. While Microsoft Teams handles unassigned number routing at the tenant level, SBC platforms such as Ribbon SBC 1000, 2000, and 8000 enable a range of advanced capabilities that are not natively supported within Microsoft Teams.

Microsoft Article - Configure routing options for unassigned phone numbers - Microsoft Teams | Microsoft Learn 

Comments

Popular posts from this blog

Skype for Business announces new Mac client and new mobile sharing experiences

Today Skype for business team publically announce that Skype for business Mac is available to download ( URL ) Its is supporting edge to edge video and full immersive content sharing and viewing, You can get good collaboration experience. And they have updated Skype Operation Framework also about this update. Please refer to them https://www.skypeoperationsframework.com/blogs Enjoy!!!

This Web browser or operating system might not be compatible with Microsoft Silverlight

Crazy error getting from Silver Light while your trying to open newly installed skype for business 2015 on top of Windows Server 2016. Since i installed Silverlight already i was checking control panel the version what i installed its latest and which you can confirm by going to this URL -  https://www.microsoft.com/getsilverlight/locale/en-us/html/Microsoft%20Silverlight%20Release%20History.htm     According to above web and control panel it says same version but my setup cant access the configuration wizard getting following error. to fix nothing do just that add this URL ( https://<pool01FQDN>/cscp to trusted sites and refresh the page then this will go. Note: This error will mislead to check on other browser version and etc and you might check supported version for WinSvr 2016. No required those. Hope this will save your time. Please like FB pages you find more - https://www.facebook.com/office365wwc/   SfB - https://w...

Microsoft Teams user administration using Set-CsOnlineVoicemailUserSettings

Now tenant admin can help with user for custom greetings,  DefaultGreetingPromptOverwrite and  DefaultOofGreetingPromptOverwrite many other user settings on behalf of users. This may help to end users when they are away to set up forwarding rules to another colleague or external number etc. Set-CsUserCallingSettings  -Identity "madushka@abc.com"  -IsForwardingEnabled $True -ForwardingType Immediate -ForwardingTarget taniya@abc.com -ForwardingTargetType SingleTarget - Verbose Note : You must have PhoneSystem License attached for you to have this forwarding to a another person. Basically both users must have PhoneSystem License.  Forward to external number   when you try this make sure you are using E.164 standard for phone numbers.  Set-CsUserCallingSettings -Identity " madushka@abc.com"   -IsForwardingEnabled $True -ForwardingType Simultaneous -ForwardingTargetType SingleTarget -ForwardingTarget "+1365888xxx"  - Verbose Note : You...