FAILED_TO_AUTO_DISCOVER_DOMAIN error in Microsoft Teams admin center
You see a FAILED_TO_AUTO_DISCOVER_DOMAIN error message when you try to connect to the Microsoft Teams admin center.
The following situations might cause this error to occur.
SIPDomain is not enabled in the tenant
This issue can be resolved by following these steps:
Connect to Skype for Business Online with PowerShell:
Verify that SIPDomain is enabled by running Get-CsOnlineSipDomain.
Enable SipDomain for the domain.
Enable-CsOnlineSipDomain -Domain <yourdomain>
This fix can take from 15 minutes to an hour to take effect.
No user is licensed for Skype for Business or Teams
The domain should have at least one user licensed for Skype for Business or Teams. A global admin or company tenant has to assign a Skype for Business license or a Teams license to a user account that has either a Teams Admin role or a Global Admin role.
To assign a license:
- Sign in to the Microsoft 365 admin center with your admin account.
- Go to the Users > Active Users page.
- Select the user that you want to assign a license to.
- In the right pane, select Licenses and Apps.
- Expand the Licenses section, select the Skype for Business Online or Microsoft Teams checkbox, and then select Save changes.
This fix can take 24 hours for synchronization to take effect.
IP and URLs are not allowed
To resolve this issue, follow the guidance in Skype for Business Online and Microsoft Teams to allow (or allowlist) IPs and URLs that are required for Teams portal access.
A Skype for Business hybrid connection is not set up for Skype for Business on-premises and Teams interoperability (hybrid configuration only)
For Skype for Business and Teams interoperability, a Skype for Business hybrid model is required.
The result of an ongoing service incident
This error can also be caused by any ongoing service incident. For a list of current incidents, see your service health dashboard.
Still need help? Go to Microsoft Community.