Phone system issue.

%3CLINGO-SUB%20id%3D%22lingo-sub-309268%22%20slang%3D%22en-US%22%3EPhone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309268%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All....%20I%20am%20hoping%20someone%20can%20set%20me%20on%20the%20correct%20path.%26nbsp%3B%20I%20am%20trying%20to%20configure%20a%20pstn%20gateway%20to%20our%20SBC%20but%20powershell%20is%20telling%20me%20that%20the%20domain%20is%20not%20configured%20for%20the%20tenant..%20I%20have%20confirmed%20that%20the%20domain%20is%20indeed%20set%20up%20in%20the%20'domains'%20settings%20although%20it%20is%20not%20the%20default%20domain.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%26nbsp%3Bthe%20command%20used%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BNew-CsOnlinePSTNGateway%20-Fqdn%20SBC1.vcshosted.uk%20-SipSignallingPort%205061%20-MaxConcurrentSessions%2010%20-ForwardCallHistory%20%24true%20-Enabled%20%24true%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20what%20i%20get%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20not%20use%20the%20%22SBC1.vcshosted.uk%22%20domain%20as%20it%20was%20not%20configured%20for%20this%20tenant.%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20InvalidArgument%3A%20(Fqdn%3DSBC1.vcsho...des%3D408%2C503%2C504%3ATrunkConfig)%20%5BNew-CsOnlinePSTNGateway%5D%2C%20ArgumentException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20CustomValidationFailed%2CMicrosoft.Rtc.Management.Internal.NewOnlinePSTNGatewayCmdlet%3CBR%20%2F%3E%2B%20PSComputerName%20%3A%20admin1e.online.lync.com%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20please%20point%20me%20in%20the%20right%20direction...%20i'm%20starting%20to%20lose%20hair....%26nbsp%3B%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-309268%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESkype%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309447%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309447%22%20slang%3D%22en-US%22%3EHmm%20yeah%2C%20it%E2%80%99s%20just%20the%20error%20being%20thrown%20is%20referring%20to%20sbc1.vcshosted%20as%20a%20domain.%20In%20an%20standard%20office%20365%20environment%20that%20would%20be%20added%20as%20a%20subdomain%20of%20vcshosted.uk%20unless%20it%20is%20being%20used%20for%20multiple%20tenants.%3CBR%20%2F%3E%3CBR%20%2F%3EAFAIK%2C%20and%20I%20know%20this%20article%20refers%20to%20multiple%20tenants%2C%20that%20there%20ought%20to%20be%20a%20subdomain%20in%20the%20tenant%20for%20sbc1.vcshosted.uk%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fdirect-routing-sbc-multiple-tenants%23register-a-subdomain-name-in-a-customer-tenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fdirect-routing-sbc-multiple-tenants%23register-a-subdomain-name-in-a-customer-tenant%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20wanted%20to%20check%20that%20aspect%20was%20correct%20as%20it%20may%20be%20causing%20the%20error.%20A%20check%20on%20MX%20Toolbox%20can%E2%80%99t%20find%20any%20validation%20TXT%E2%80%99s%20on%20that%20subdomain.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309445%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309445%22%20slang%3D%22en-US%22%3ESbc1%20is%20a%20hostname%20right%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309443%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309443%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20follow%20up%20on%20Adam%20have%20you%20added%20the%20sbc1.vcshosted.uk%20as%20a%20sub%20domain%20under%20the%20main%20vcshosted.uk%20domain%20within%20the%20tenant%3F%20You%20should%20be%20able%20to%20do%20this%20if%20you%20have%20verified%20the%20main%20domain.%20It%20is%20recommended%20that%20both%20should%20have%20the%20correct%20DNS%20records%20on%20them%20so%20the%20setup%20on%20both%20of%20them%20is%20fully%20completed.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309431%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309431%22%20slang%3D%22en-US%22%3ESounds%20it%20could%20be%20a%20dns%20issue%20then!%20Go%20to%20%E2%80%9Ddomains%E2%80%9D%20in%20the%20admin%20portal%2C%20select%20your%20custom%20domain%20and%20verify%20the%20dns%20records%20there%20and%20see%20what%E2%80%99s%20missing!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309430%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309430%22%20slang%3D%22en-US%22%3E%3CP%3Eyes%20the%20domain%20has%20been%20verified%2C%20but%20there%20are%20errors%20that%20i%20am%20waiting%20for%20our%20provider%20to%20resolve.%20Is%20it%20likely%20to%20be%20the%20fact%20that%20there%20are%20errors%20in%20the%20DNS%20settings%20is%20causing%20the%20issue%3F%20the%20usernames%20were%20initially%26nbsp%3B%20the%20standard%20.onmicrosoft%20ones%20but%20i%20added%20this%20domain%20and%20set%20as%20primary%20thinking%20this%20would%20work.%26nbsp%3B%20we%20have%20no%20on%20premise%20solution%20for%20o365%20it%20is%20all%20through%20the%20cloud...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309321%22%20slang%3D%22en-US%22%3ERe%3A%20Phone%20system%20issue.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309321%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20the%20domain%20is%20verified%3F%3CBR%20%2F%3EHave%20you%20created%20any%20users%20with%20the%20UPN%20set%20to%20this%20domain%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

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

6 Replies
Highlighted

So the domain is verified?
Have you created any users with the UPN set to this domain?

Highlighted

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...

Highlighted
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!
Highlighted
Hi,

To follow up on Adam have you added the sbc1.vcshosted.uk as a sub domain under the main vcshosted.uk domain within the tenant? You should be able to do this if you have verified the main domain. It is recommended that both should have the correct DNS records on them so the setup on both of them is fully completed.

Best, Chris
Highlighted
Sbc1 is a hostname right?
Highlighted
Hmm yeah, it’s just the error being thrown is referring to sbc1.vcshosted as a domain. In an standard office 365 environment that would be added as a subdomain of vcshosted.uk unless it is being used for multiple tenants.

AFAIK, and I know this article refers to multiple tenants, that there ought to be a subdomain in the tenant for sbc1.vcshosted.uk

https://docs.microsoft.com/en-us/MicrosoftTeams/direct-routing-sbc-multiple-tenants#register-a-subdo...

Just wanted to check that aspect was correct as it may be causing the error. A check on MX Toolbox can’t find any validation TXT’s on that subdomain.

Best, Chris