Teams Direct Routing User Setup

Troy Rainey 1 Reputation point
2022-06-13T18:33:45.963+00:00

Hello All,

Our Company is currently in the Process of setting up Direct Routing with Teams. I am going to setup the users with PowerShell and am getting the following error. It only appears to happen with users with the same primary number but different extensions it does not occur with users having there own DID.

210909-teamsdirectrouting.png

Microsoft Teams Development
Windows for business Windows Server User experience PowerShell
Microsoft Teams Microsoft Teams for business Other
{count} votes

2 answers

Sort by: Most helpful
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2022-06-14T03:15:44.74+00:00

    Hi @Troy Rainey ,

    As mentioned in this article, to assign numbers by using PowerShell in Microsoft Teams, please use the Set-CsPhoneNumberAssignment cmdlet instead. For the situation you described, you can run the commend below after replacing the identity and phone numbers:

    Set-CsPhoneNumberAssignment -Identity "******@contoso.com" -PhoneNumber "+123456789;ext=1002" -PhoneNumberType DirectRouting  
    

    More details, hopefully you can find the document below helpful:
    Enable users for Direct Routing


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Limitless Technology 39,916 Reputation points
    2022-06-15T07:50:06.603+00:00

    Hi there,

    Direct Routing requires the user to be homed online. You can check by looking at the RegistrarPool parameter, which needs to have a value in the infra.lync.com domain.

    If you're managing the user's phone number on-premises, you need to ensure that the user is Enterprise Voice enabled online by using the following command: Set-CsPhoneNumberAssignment -Identity "<User name>" -EnterpriseVoiceEnabled $true

    You can learn more about the process from here https://learn.microsoft.com/en-us/microsoftteams/direct-routing-enable-users

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.