Unable to make custom domain primary

Rahul Sharma 0 Reputation points

I have 2 domains in azure portal. One provided by azure with onmicrosoft.com domain name and another domain which I purchased on godaddy and then registered in azure.

In custom domain section of entra Id, default domain is not federated but is primary and my registered domain is federated but not primary.

When I try to make my registered domain primary, it throws an error saying "unable to make domain name primary". It doesn't even throw an detailed error.

Can someone help me understand whats going on here.

Thank You!

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,544 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akhilesh 1,450 Reputation points Microsoft Vendor

    Hi @Rahul Sharma

    Thank you for reaching us!

    For your query, I understand that you are facing an issue while make custom as a primary domain.

    In Microsoft Entra ID (Azure AD), the primary domain is the default domain name for a new user when you create a new user. When your organization is created, the initial domain name, such as org.onmicrosoft.com,’ is also the primary domain name. This default domain is managed by Microsoft Entra ID and uses Microsoft Entra ID for authentication.

    A Federated domain in Microsoft Entra ID is a domain that is configured to use federation process, such as Active Directory Federation Services (AD FS), to authenticate users. All federated users must be created on-premises and must be synced by using the Microsoft Azure Active Directory Sync Tool.

    Hence a federated domain cannot be set as the primary domain in Azure Active Directory. The primary domain can only be a managed domain. If you wish to set a federated domain as the primary one, you will first need to convert it to a managed domain However this procedure may have an effect on the users and services linked to the domain.

    I hope this answer helps! If you have any further questions, please feel free to ask.

    Reference: https://learn.microsoft.com/en-us/entra/identity/users/domains-manage




    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.