Delete Previous Direct Routing

Updated at July 27th, 2024

Scope:

This document will show you how to delete Direct Routing previously set up on Microsoft.

 
Requirements:
  • Microsoft Global Admin access for the Enterprise
 
Deleting Direct Routing:
  1. Login into the https://admin.teams.microsoft.com/
  2. Search for the users related to the Direct Route you want to delete.

    1. For Each User, Navigate to Policies.
    2. Click Edit.
    3. Reset their Voice Route Policy to Global Default Policy
    4. Select Apply.

  3. Navigate to Voice.
    1. Click on Direct Routing.
  4. Navigate to the Voice Routes tab.
  5. Select Voice Route related to the Direct Routing you want to delete.
  6. Delete the Voice Route.
  7. Once removed, navigate to Voice routing policies.
  8. Delete Voice Route policy that is associated with the Direct Route you want to delete.
  9. Voice Route Policy Deletion Errors - If the Deletion gives you an error that the route is still in use bur the View User Menu shows that there are no licenced users assigned to that route, you can log into Teams through Powershell and pull a full list of users and their routes with the followingPowerShell Command
PowerShell
get-csonlineuser | select-object userprincipalname, onlinevoiceroutingpolicy | export-csv -path c:\VoiceRouting.csv

Delete the Unlicensed users with that route or remove the route from them.

  1. Navigate to Microsoft Admin Center.
  2. Navigate to Users then Active Users.
  3. Search for the Direct Routing User that is created by the Direct Route provider you wish to remove.
  4. Delete the User.
  5. Navigate to Settings
  6. Click Domains.
  7. Select the Domain that is set up by the Direct Route provided and Remove domain.
  8. Navigate to Azure Active Directory under Admin centers.
  9. Select Users from the left menu.
  10. Navigate to Deleted Users.
  11. Permanently delete the User that was removed in step 12.

Was this article helpful?

Print to PDF