Add And Verify Your Custom Domain In Azure Active Directory

This article will guide you, on how to add a custom domain name and verify it for use with your Azure Active Directory,

Azure Active Directory tenants come with an initial domain name, “domain-name.onmicrosoft.com”. You can't change or delete the initial domain name, but you can add your organization's names. Adding custom domain names helps you to create user names that are familiar to your users, such as [email protected]

Important: (You must include .com.net, or any other top-level extension for this to work. When adding a custom domain, the Password Policy values will be inherited from the initial domain.)

Before you can add a custom domain name, create your domain name with a domain registrar such as Google domain, GoDaddy, Namecheap, and Bluehost ext.

Step 1. Add your custom domain to Azure AD

  1. Go to Azure portal then Sign in to the Azure portal.
  2. Then Select Azure Active Directory
    Add and verify Your custom domain in Azure Active Directory
  3. Select "Custom Domain Name" from Azure Active Directory,
  4. And then Click "Add custom domain".
    Add and verify Your custom domain in Azure Active Directory
    You must include .com, .net, or any other top-level extension for this to work. When adding a custom domain, the Password Policy values will be inherited from the initial domain.
  5. In the Custom domain name field, enter your registered domain name. example, techshifa.com.
  6. And then select "Add domain"
    Add and verify Your custom domain in Azure Active Directory
    The unverified domain is added. The techshifa.com page appears showing your DNS information. You need it later to create a TXT record to configure DNS.
    Add and verify Your custom domain in Azure Active Directory

Step 2. Configure DNS with a TXT Record

After the domain is added you need to verify the domain, you will need to configure DNS with a TXT record, via the domain registrar, 

In this case, I registered the domain with the GoDaddy domain provider.

If you are registered with GoDaddy, you can follow these steps to add the TXT DNS record to your domain DNS

  • Log in to your GoDaddy account
  • Then Select "My Product" and then click "DNS"
    Add and verify Your custom domain in Azure Active Directory
  • Then click "Add" to add a TXT record then add Record
    Add and verify Your custom domain in Azure Active Directory

After successfully TXT record is added, you can verify your custom domain name!

Step 3. Verify your custom domain name

  • Go to Azure Portal
  • From the "azure active Directory" Select "Custom Domain Name"
  • Then select your unverified Domain Name to verify
    Add and verify Your custom domain in Azure Active Directory
  • On the techshifa.info page, select Verify
    Add and verify Your custom domain in Azure Active Directory
  • The Custom Domain Name is successfully verified, If you want to make the custom domain your primary domain, select the custom domain, and select Make primary.
    Add and verify Your custom domain in Azure Active Directory