Type something to search...
How to inventory Direct Routing numbers in Teams

How to inventory Direct Routing numbers in Teams


Introduction

Microsoft Teams continues to evolve to offer ever more effective communication and collaboration solutions. To make life easier for administrators, Microsoft has announced the possibility of maintaining an inventory of Direct Routing type numbers directly from the Microsoft Teams Admin Center. This feature was already perfectly functional for numbers. This new update allows admins to keep an inventory in Teams rather than in an external file or SharePoint list.


Phone number inventory

The functionality is currently only available in a pre-public version in PowerShell.

You can import a unique number via the following PowerShell command :

New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -TelephoneNumber "+15144567890"

You can import multiple phone numbers (consecutive or not) via the following PowerShell command :

New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -TelephoneNumber "+15144567890,+15144567892,+15144567894"

You can import a range of phone numbers via the following PowerShell command :

New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -StartingNumber "+15144567890" -EndingNumber "+15144567899"

You can also import a csv file containing your phone numbers via the following PowerShell commands :

$ListDID = [System.IO.File]::ReadAllBytes("C:\Users\maxime\AllMyPhoneNumbers.csv")
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -FileContent $ListDID

You can release a phone number via the following PowerShell command :

New-CsOnlineTelephoneNumberReleaseOrder -TelephoneNumber "+15144567890"

The principle is the same for several phone numbers or a range of phone numbers.


Result

The phone number is visible with other Calling Plan and Operator Connect type phone numbers.

image


Conclusion

Direct Routing phone number management in the Microsoft Teams Admin Center provides organizations with a flexible, integrated solution for their inventory needs. Administrators can easily configure and manage these numbers, improving the efficiency and productivity of their organization.

You now know how to inventory your phone numbers in Teams.


Sources

Microsoft Learn - New-CsOnlineDirectRoutingTelephoneNumberUploadOrder

Microsoft Learn - New-CsOnlineTelephoneNumberReleaseOrder


Did you enjoy this post ? If you have any questions, comments or suggestions, please feel free to send me a message from the contact form.

Don’t forget to follow us and share this post.

Related Posts

How I resolved dropped Teams calls

How I resolved dropped Teams calls

Introduction A customer contacted me to tell me that he was having an issue with his Microsoft Teams telephony. Outgoing calls are being cut off even before the audio connection is establis

Read More
Pricing update for Teams telephony licenses

Pricing update for Teams telephony licenses

Introduction Microsoft recently announced a price increase for several Teams telephony licenses, effective April 1, 2025. This pricing update reflects the continued innovation and increased

Read More
How to disable self-service on Copilot licenses

How to disable self-service on Copilot licenses

Introduction Microsoft has activated a setting in the tenants (by default) to allow any user to purchase a Microsoft Copilot license through the *Microsoft 365 Copilot self-service pursha

Read More
Import the DigiCert Root G2 certificate into a Ribbon SBC

Import the DigiCert Root G2 certificate into a Ribbon SBC

Introduction Since the arrival of Teams Direct Routing telephony, TLS certificates used by Microsoft servers are linked to the following root certification authority :Common Certificate

Read More
Import the DigiCert Root G2 certificate into an Audiocodes SBC

Import the DigiCert Root G2 certificate into an Audiocodes SBC

Introduction Since the arrival of Teams Direct Routing telephony, TLS certificates used by Microsoft servers are linked to the following root certification authority :Common Certificate

Read More
How to configure callback in a Teams queue

How to configure callback in a Teams queue

Definition Callback in Teams allows callers in a queue to be called back after a certain time rather than waiting until an agent becomes available.Prerequisites **Licenses r

Read More
How to handle duplicates in Teams directory search

How to handle duplicates in Teams directory search

Introduction Microsoft recently announced a significant optimization for the search by name and extension functionality in its Teams auto attendants. You have probably already had this case

Read More
The end of AzureAD and MSOnline PowerShell modules

The end of AzureAD and MSOnline PowerShell modules

Introduction Microsoft recently announced the general availability of the Microsoft Entra PowerShell module. This module offers administrators and IT professionals a new way to manage and a

Read More
Update to version 6.8.0 of the Teams PowerShell module

Update to version 6.8.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 6.8.0 of the PowerShell module for Microsoft Teams.Installation You can check the version of the installed module via t

Read More
Debugging Teams calls via the SIP ladder

Debugging Teams calls via the SIP ladder

Introduction Microsoft Teams continues to evolve to offer ever more advanced communication and collaboration solutions. Among the features arriving very soon, we find the possibility of obt

Read More
How to block a specific external user in Teams

How to block a specific external user in Teams

Introduction Microsoft recently introduced a new feature for Teams administrators to block specific external users. This update aims to strengthen security and protect internal members of t

Read More
Update to version 13.3.0 of the Azure PowerShell module

Update to version 13.3.0 of the Azure PowerShell module

Introduction Microsoft recently released the new version 13.3.0 of the PowerShell module for Microsoft Azure.Installation You can check the version of the installed module via

Read More
Update to version 6.9.0 of the Teams PowerShell module

Update to version 6.9.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 6.9.0 of the PowerShell module for Microsoft Teams.Installation You can check the version of the installed module via t

Read More
How to analyze Direct Routing calls via the SIP ladder

How to analyze Direct Routing calls via the SIP ladder

Introduction I wrote an article last February to announce the upcoming release of the SIP ladder to analyze Teams Direct Routing calls from the Microsoft Teams Admin Center. The feature is

Read More
How to analyze incoming calls in Teams with CQD

How to analyze incoming calls in Teams with CQD

Définition Microsoft's Teams Call Quality Dashboard (CQD) is a powerful tool designed to help administrators monitor and improve the quality of phone calls within their organization. Th

Read More
How to enable LDAP routing in an Audiocodes SBC

How to enable LDAP routing in an Audiocodes SBC

Introduction LDAP (Lightweight Directory Access Protocol) routing over an SBC (Session Border Controller) allows calls to be managed using information stored in an Active Directory.

Read More
Update to version 7.0.0 of the Teams PowerShell module

Update to version 7.0.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 7.0.0 of the PowerShell module for Microsoft Teams.Installation Vous pouvez vérifier la version du module installé via

Read More