Forum Discussion
Direct Routing, Multi-Tenant problem
- Sep 22, 2020
Hi fowler_23, LinusCansby , I lost my user account because I had to delete my old tenant, that solved the problem, I'm lucky that was only a test tenant, now everything works fine with the setup steps you both told me.
Hope this helps someone else.
Thank you!
Regards!
Hi fowler_23, thank you for your response, I want to offer SIP trunks to more than 1 MS Teams customer, so, that's why I have 4 SBCs, each one with unique IP address.
This is what I want to have when I get a working Multi Tenant service:
SBC1
customer1.sbc1.domain.com
customer2.sbc1.domain.com
...
SBC2
customer1.sbc2.domain.com
customer2.sbc2.domain.com
...
SBC3
customer1.sbc3.domain.com
customer2.sbc3.domain.com
...
SBC4
customer1.sbc3.domain.com
customer2.sbc4.domain.com
...
I did what you told me on powershell, I'm not using the New-CsOnlinePSTNGateway.
When I use New-CsOnlineVoiceRoute for the sbc2.domain.com ( or even sbc3 and sbc4 ) ( of course this domains are just an example, I'm not showing the real domain names) I see the next error message:
Cannot find specified Gateway "sbc2.domain.com".
+ CategoryInfo : InvalidArgument: (Description=;Nu...Name=route_test:OnlineRoute) [New-CsOnlineVoiceRoute], ArgumentException
+ FullyQualifiedErrorId : CustomValidationFailed,Microsoft.Rtc.Management.Internal.NewOnlineVoiceRouteCmdlet
+ PSComputerName : admin3a.online.lync.com
With sbc1.domain.com I don't have any problem adding it using New-CsOnlineVoiceRoute, that's why I don't know if I have to wait some days for all the configuration to be reflected to all Microsoft servers for sbc2.domain.com, sbc3.domain.com an sbc4.domain.com
Regards!
That should be fine as long as you have customer1.sbc2.domain.com configured as a domain within that tenant. Then a user assigned to that domain with an O365 license (E1,E3 or E5).
And customer1.sbc2.domain.com as a public FQDN going to sbc2.domain.com
When I say don't use New-CsOnlinePSTNGateway. You would use that on the base domain (your domain as the carrier) so you would run that command on sbc1.domain.com, sbc2.domain.com etc
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
Your error message that you pasted just says sbc2.domain.com. Not sure if you removed the preceding section because if that is in your customer tenant, then as per your preferred setup. The OnlineVoiceRoute should state customer1.sbc1.domain.com, customer1.sbc2.domain.com which matches the added domain specified in the customer tenant.
And then to reiterate, sbc1.domain.com, sbc2.domain.com only exists in your carrier tenant.
Hopefully that gives you more assistance.
- aacostaSep 14, 2020Copper Contributor
Hi fowler_23, thank you for your reponse
" Your error message that you pasted just says sbc2.domain.com. Not sure if you removed the preceding section because if that is in your customer tenant, then as per your preferred setup. "
I'm the carrier, so, I'm using the Carrier tenant but I can't add the sbc2.domain.com, sbc3.domain.com or sbc4.domain.com, I see the message that I wrote before, I don't know why I can only add the sbc1.domain.com; as a test I deleted the sbc1.domain.com and waited for 2 days, and even if I don't have that domain I still can add it as a SBC for Direct Routing.
Microsoft support don't know until this day what is happening 😞
Regards!
- fowler_23Sep 15, 2020Iron Contributor
Sorry - thought you were talking about the customer tenant.
If working in the carrier tenant and you can't run New-CsOnlinePSTNGateway -FQDN sbc2.domain.com ....
There should be no reason this can't be added as long as you have sbc2.domain.com added as a domain in the carrier tenant and status is Healthy. Again, you will need a user as well assigned to that domain within the Users section with E1\E3\E5
Follow the section titled "Register a base domain name in the carrier tenant"
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
As previous, carrier tenant only has OnlinePSTNGateway. You don't define voice routes in the carrier tenant, only in the customer tenant.
- aacostaSep 15, 2020Copper Contributor
I can't add sbc2.domain.com, sbc3.domain.com or sbc4.domain.com with New-CsOnlinePSTNGateway ( carrier tenant ), with users with E3 licenses for that domains, and that's my problem, I can't do anything on the customer tenant side until I have a working carrier tenant 😞
Regards!