Introduction
In this article, we are going to learn how to add a custom domain name to Azure Active Directory. Every new Azure AD tenant comes with an initial domain name, like "<yourdomainname>.onmicrosoft.com", and we can’t change or delete our initial domain name, but we can add our organization domain names. Adding the custom domain names helps us to create user names that are under our domain.
Step 1
In the Azure Portal, Search for Azure Active Directory from the search box and select Azure Active Directory, and then select “Custom domain names”.
Step 2
In Custom domain name, we can find that we have one default domain available, click “+ Add custom domain” and enter your organization’s domain name, in this demo our domain name is, technetviki.com. Select Add domain.
Step 3
Now our unverified domain is added. The technetviki.com page appears showing your DNS information. Save this information.
Step 4
Our organization domain name has been registered in GoDaddy, so log in to the GoDaddy site and select DNS Management
Step 5
Add the Azure AD DNS information from your portal. Creating this TXT record and MX record for your domain verifies ownership of your domain name. Set the time to live (TTL) to 3600 seconds (60 minutes), and then save the record.
Step 6
After adding the DNS record click Verify button.
Now we can see that our domain has been verified.
Step 7
After verifying the domain, click “Mark primary”
Step 8
Now we can see our own domain has been verified in our Azure Active Directory.
Step 9
Now we are going to test whether we can create a user name using our own domain. So click “Users” under the Manage.
Step 10
In the Create user we can select our own domain name.
Step 11
Finally we have created a user name using our own custom domain.
Summary
In this article we have learned how to add our own custom domain name to our Azure Active Directory. If you have any questions feel free to contact me.