May 02 2020
10:18 AM
- last edited on
Feb 07 2023
08:08 PM
by
TechCommunityAP
May 02 2020
10:18 AM
- last edited on
Feb 07 2023
08:08 PM
by
TechCommunityAP
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:
The Domain is in a good integrity check
Any ideas?
Thanks
May 02 2020 11:15 AM
Hi, take a look at this - https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/failed-to-auto-dis...
Hope this helps?
May 03 2020 01:19 AM
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
May 03 2020 01:23 AM
May 03 2020 03:52 AM
May 03 2020 04:22 AM
@PeterRising Sorry!
Now?
May 03 2020 05:24 AM - edited May 03 2020 05:30 AM
May 03 2020 05:44 AM
May 03 2020 05:53 AM
@PeterRising Yes my account is global admin and Teams Admin
I try, but i get the same error...
May 03 2020 07:13 AM
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
May 03 2020 08:15 AM
Same error after this code
$sfbSession = New-CsOnlineSession -Credential $userCredential
May 03 2020 08:28 AM
Jun 05 2020 06:18 AM
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.
Jun 09 2020 07:00 AM
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).
Aug 06 2020 03:20 PM
For anyone else having this issue...
After trying many of the recommended things here and elsewhere over the net, I was able to finally resolve the issue by logging into the Teams portal by using the default "domain.onmicrosoft.com" Global Admin account rather than my personal global admin account.
Try it out!