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.