Forum Discussion

WelshViking's avatar
WelshViking
Brass Contributor
Jan 05, 2019

Phone system issue.

Hi All.... I am hoping someone can set me on the correct path.  I am trying to configure a pstn gateway to our SBC but powershell is telling me that the domain is not configured for the tenant.. I have confirmed that the domain is indeed set up in the 'domains' settings although it is not the default domain.

 

Here is the command used:

 

 New-CsOnlinePSTNGateway -Fqdn SBC1.vcshosted.uk -SipSignallingPort 5061 -MaxConcurrentSessions 10 -ForwardCallHistory $true -Enabled $true

 

Here is what i get:

 

Can not use the "SBC1.vcshosted.uk" domain as it was not configured for this tenant.
+ CategoryInfo : InvalidArgument: (Fqdn=SBC1.vcsho...des=408,503,504:TrunkConfig) [New-CsOnlinePSTNGateway], ArgumentException
+ FullyQualifiedErrorId : CustomValidationFailed,Microsoft.Rtc.Management.Internal.NewOnlinePSTNGatewayCmdlet
+ PSComputerName : admin1e.online.lync.com

 

 

Can someone please point me in the right direction... i'm starting to lose hair....  Thanks

    • WelshViking's avatar
      WelshViking
      Brass Contributor

      yes the domain has been verified, but there are errors that i am waiting for our provider to resolve. Is it likely to be the fact that there are errors in the DNS settings is causing the issue? the usernames were initially  the standard .onmicrosoft ones but i added this domain and set as primary thinking this would work.  we have no on premise solution for o365 it is all through the cloud...

      • adam deltinger's avatar
        adam deltinger
        MVP
        Sounds it could be a dns issue then! Go to ”domains” in the admin portal, select your custom domain and verify the dns records there and see what’s missing!

Share

Resources