Teams Admin FAILED_TO_AUTO_DISCOVER_DOMAIN

%3CLINGO-SUB%20id%3D%22lingo-sub-1355134%22%20slang%3D%22en-US%22%3ETeams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355134%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%20few%20days%20ago%20i%20buy%20one%20license%20of%26nbsp%3BMicrosoft%20365%20Business%20Basic%20for%20use%20Teams%3C%2FP%3E%3CP%3EI%20get%20this%20error%20when%20i%20try%20to%20connect%20Teams%20Admin%20center%20%3CSTRONG%3EFAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20dns%20server%20i%20put%20this%20records%3A%3C%2FP%3E%3CUL%3E%3CLI%3Esipdir.online.lync.com.%20(cname)%3C%2FLI%3E%3CLI%3Ewebdir.online.lync.com.%20(cname)%3C%2FLI%3E%3CLI%3Esipfed.online.lync.com.%20(srv)%3C%2FLI%3E%3CLI%3Esipdir.online.lync.com.%20(srv)%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThe%20Domain%20is%20in%20a%20good%20integrity%20check%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1355134%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%20Admin%20Center%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355212%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355212%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20take%20a%20look%20at%20this%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fteams-administration%2Ffailed-to-auto-discover-domain-error-teams-admin-center%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fteams-administration%2Ffailed-to-auto-discover-domain-error-teams-admin-center%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355696%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355696%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%20i%20try%2C%20but%20i%20get%20this%20error%20in%20powershell%20command%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eimport-module%20Skypeonlineconnector%20ok%3C%2FSPAN%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%24sfbsession%20%3D%20New-csonlinesession%20%3A%26nbsp%3B%3CA%20href%3D%22mailto%3Ateams%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eadminuser%40domain.com%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-CsOnlinePowerShellEndpoint%20%3A%20Remote%20server%20error%3A%20(404)%20Non%20Found.%3C%2FP%3E%3CP%3EIn%20C%3A%5CProgram%20Files%5CCommon%20Files%5CSkype%20for%20Business%3C%2FP%3E%3CP%3EOnline%5CModules%5CSkypeonlineconnector%5CSkypeOnlineConnectorStartup.psm1%3A149%20car%3A26%3C%2FP%3E%3CP%3E%2B%20...%20targetUri%20%3D%20Get-CsOnlinePowerShellEndpoint%20-TargetDomain%20%24adminDomain%20...%3C%2FP%3E%3CP%3E%2B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20CategoryInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20NotSpecified%3A%20(%3A)%20%5BGet-CsOnlinePowerShellEndpoint%5D%2C%20WebException%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20System.Net.WebException%2CMicrosoft.Rtc.Management.OnlineConnector.GetPowerShellEndpointCm%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20dlet%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355700%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355700%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20can%20you%20share%20screen%20shots%20of%20your%20attempts%20in%20PowerShell%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355768%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355768%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355785%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355785%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20I%20don't%20see%20anything%20in%20your%20reply%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355827%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355827%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3BSorry!%3C%2FP%3E%3CP%3ENow%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355871%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355871%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20permission%20does%20your%20O365%20account%20have%3F%26nbsp%3B%20Do%20you%20have%20Global%20Admin%20rights%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355888%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355888%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20this%20a%20try%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Fpowershell%2Fconnect-to-all-office-365-services-in-a-single-windows-powershell-window%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Fpowershell%2Fconnect-to-all-office-365-services-in-a-single-windows-powershell-window%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355901%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355901%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3BYes%20my%20account%20is%20global%20admin%20and%20Teams%20Admin%3C%2FP%3E%3CP%3EI%20try%2C%20but%20i%20get%20the%20same%20error...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355997%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355997%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOK%2C%20give%20this%20a%20try%20and%20see%20if%20it%20lets%20you%20connect%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EImport-Module%20SkypeOnlineConnector%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%24userCredential%20%3D%20Get-Credential%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%24sfbSession%20%3D%20New-CsOnlineSession%20-Credential%20%24userCredential%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EImport-PSSession%20%24sfbSession%26nbsp%3B-AllowClobber%20-Verbose%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1356085%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1356085%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20error%20after%20this%20code%3C%2FP%3E%3CP%3E%3CSTRONG%3E%24sfbSession%20%3D%20New-CsOnlineSession%20-Credential%20%24userCredential%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1356096%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1356096%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20tried%20this%20on%20more%20than%20one%20computer%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442894%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442894%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F645319%22%20target%3D%22_blank%22%3E%40Melo1983%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThe%20issue%20isn't%20restricted%20to%20Melo1983.%26nbsp%3B%20I'm%20having%20the%20same%20issue%20after%20creating%20a%20new%20tenant%20and%20adding%20that%20domain%20to%20the%20new%20tenant.%20%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20getting%20the%20same%20errors%2C%20and%20unable%20to%20manage%20Teams%20through%20Teams%20Admin%20console.%3CBR%20%2F%3ETried%20from%20multiple%20machines%2C%20and%20same%20machines%20after%20reformat.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20do%20have%20an%20open%20case%20with%20Microsoft.%26nbsp%3B%20Waiting%20to%20hear%20back%20today%20after%20providing%20correlation%20token%20%26amp%3B%20tenant%20information.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450991%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Admin%20FAILED_TO_AUTO_DISCOVER_DOMAIN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450991%22%20slang%3D%22en-US%22%3E%3CP%3EUpdate%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EMy%20issue%20has%20been%20resolved%20by%20working%20through%20the%20ticketing%20system%20and%20getting%20a%20Microsoft%20O365%20support%20engineer%20to%20help%20troubleshooting.%26nbsp%3B%20It%20had%20been%20a%20week%2C%20and%20my%20users%20were%20stuck%20in%20the%20%22Provisioning%22%20stage%3A%3CBR%20%2F%3E%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fadmin.microsoft.com%2FAdminportal%2FHome%23%2Fteamsprovisioning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadmin.microsoft.com%2FAdminportal%2FHome%23%2Fteamsprovisioning%3C%2FA%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EWhat%20worked%20for%20me%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20ran%20the%20following%20PowerShell%20as%20Admin%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EImport-Module%20LyncOnlineConnector%3CBR%20%2F%3E%24Session%20%3D%20New-CsOnlineSession%20%E2%80%93UserName%20%E2%80%98%5Byour-global-admin%5D%40yourdomain.com%E2%80%98%20%E2%80%93OverrideAdminDomain%20%E2%80%98%5Byour-tenant-name%5D.onmicrosoft.com%E2%80%99%3CBR%20%2F%3EImport-PSSession%20%24Session%3CBR%20%2F%3E%3CBR%20%2F%3EEnable-CsOnlineSipDomain%20%E2%80%93Domain%20%E2%80%98%5Byourdomain.com%5D%E2%80%98%3CBR%20%2F%3E%3C%2FFONT%3E%3CFONT%3E%3CFONT%3EDisable-CsOnlineSipDomain%20%E2%80%93Domain%20%E2%80%98%5Byourdomain.com%5D%E2%80%98%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3E%3CFONT%3EEnable-CsOnlineSipDomain%20%E2%80%93Domain%20%E2%80%98%5Byourdomain.com%5D%E2%80%98%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%3CFONT%3EPaste%20the%20following%20into%20a%20browser%3A%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fwebdir.online.lync.com%2FAutodiscover%2FAutodiscoverService.svc%2Froot%3FDomain%3D%5Byourdomain.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwebdir.online.lync.com%2FAutodiscover%2FAutodiscoverService.svc%2Froot%3FDomain%3D%5Byourdomain.com%3C%2FA%3E%5D%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3E(This%20initially%20didn't%20work%20for%20me.....I%20kept%20seeing%20an%20XML%20message%20which%20roughly%20translates%20to%20a%20404).%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%3CFONT%3E%23%20It%20may%20take%20some%20time%20to%20complete%20these%20changes%20on%20your%20tenant.%26nbsp%3B%20I%20left%20work%20at%205pm%2C%20and%20at%207am%2C%20everything%20was%20working.%20(including%20the%20URL).%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi everyone few days ago i buy one license of Microsoft 365 Business Basic for use Teams

I get this error when i try to connect Teams Admin center FAILED_TO_AUTO_DISCOVER_DOMAIN

 

In my dns server i put this records:

  • sipdir.online.lync.com. (cname)
  • webdir.online.lync.com. (cname)
  • sipfed.online.lync.com. (srv)
  • sipdir.online.lync.com. (srv)

The Domain is in a good integrity check 

Any ideas?

Thanks

 

14 Replies
Highlighted
Highlighted

@PeterRising 

 

Yes i try, but i get this error in powershell command

 

import-module Skypeonlineconnector ok

$sfbsession = New-csonlinesession : adminuser@domain.com 

Get-CsOnlinePowerShellEndpoint : Remote server error: (404) Non Found.

In C:\Program Files\Common Files\Skype for Business

Online\Modules\Skypeonlineconnector\SkypeOnlineConnectorStartup.psm1:149 car:26

+ ... targetUri = Get-CsOnlinePowerShellEndpoint -TargetDomain $adminDomain ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-CsOnlinePowerShellEndpoint], WebException

    + FullyQualifiedErrorId : System.Net.WebException,Microsoft.Rtc.Management.OnlineConnector.GetPowerShellEndpointCm

   dlet

 

 

 

Highlighted

@Melo1983 

 

Please can you share screen shots of your attempts in PowerShell?

Highlighted
Highlighted

@Melo1983 

 

Sorry I don't see anything in your reply?

Highlighted

@PeterRising Sorry!

Now?

Highlighted

@Melo1983 

 

What permission does your O365 account have?  Do you have Global Admin rights?

Highlighted

@PeterRising Yes my account is global admin and Teams Admin

I try, but i get the same error...

Highlighted

@Melo1983 

 

OK, give this a try and see if it lets you connect;

 

Import-Module SkypeOnlineConnector

$userCredential = Get-Credential

$sfbSession = New-CsOnlineSession -Credential $userCredential

Import-PSSession $sfbSession -AllowClobber -Verbose

 

Highlighted

@PeterRising 

Same error after this code

$sfbSession = New-CsOnlineSession -Credential $userCredential

 

Highlighted

@Melo1983 

 

Have you tried this on more than one computer?

Highlighted

@PeterRising @Melo1983 

The issue isn't restricted to Melo1983.  I'm having the same issue after creating a new tenant and adding that domain to the new tenant.  

I'm getting the same errors, and unable to manage Teams through Teams Admin console.
Tried from multiple machines, and same machines after reformat.

I do have an open case with Microsoft.  Waiting to hear back today after providing correlation token & tenant information.

Highlighted

Update:

My issue has been resolved by working through the ticketing system and getting a Microsoft O365 support engineer to help troubleshooting.  It had been a week, and my users were stuck in the "Provisioning" stage:
https://admin.microsoft.com/Adminportal/Home#/teamsprovisioning

What worked for me:


I ran the following PowerShell as Admin:

 

Import-Module LyncOnlineConnector
$Session = New-CsOnlineSession –UserName ‘[your-global-admin]@yourdomain.com‘ –OverrideAdminDomain ‘[your-tenant-name].onmicrosoft.com’
Import-PSSession $Session

Enable-CsOnlineSipDomain –Domain ‘[yourdomain.com]‘
Disable-CsOnlineSipDomain –Domain ‘[yourdomain.com]‘

Enable-CsOnlineSipDomain –Domain ‘[yourdomain.com]‘

 

Paste the following into a browser:

https://webdir.online.lync.com/Autodiscover/AutodiscoverService.svc/root?Domain=[yourdomain.com]

(This initially didn't work for me.....I kept seeing an XML message which roughly translates to a 404).

 

# It may take some time to complete these changes on your tenant.  I left work at 5pm, and at 7am, everything was working. (including the URL).