Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » How to add and verify a custom domain name to Azure Active Directory

How to add and verify a custom domain name to Azure Active Directory

Posted on 06/07/202018/09/2023 Christian By Christian No Comments on How to add and verify a custom domain name to Azure Active Directory
AD Connect Error

After you create your directory, you can add your custom domain name. Every new AAD tenant comes with an initial domain name, <domainname>.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 techdirectarchive.com. See this guide for reasons to deploy AAD. A domain or accepted domain is a DNS zone for which a tenant has proven ownership by creating an arbitrarily named DNS record as requested by Microsoft. It represents the possible domain suffixes (or namespace) that directory objects can use.

Each tenant has a core domain (onmicrosoft.com) and a default domain which by default is the core domain, but which can be changed. Neither of these is necessarily the primary domain used by the tenant as you have the option to have this changed. See this guide on how to set up an Azure AD Tenant.

A directory is the Azure AD service. Each directory has one or more domains. A directory can have many subscriptions associated with it, but only one tenant. Kindly refer to these related guides:  Domain Name System: How to create a DNS record, How to setup SPF and TXT Records in AWS, and A-Z of Domain Name System: All you need to know about DNS

Custom domain name to Azure Active Directory

Follow the steps below to create a resource group
– Sign in to the Azure portal using a Global administrator account.
– Search for and select the Azure Active Directory.
– On the left pane, select Custom domain names.

Synchronization service scheduler

– Click on Add custom domain as show

configuration change

In the Custom domain name dialog box as shown below,
– Enter your organisation’s new name, in this example, techdirectarchive.com.
– Select Add domain.

synchronization error

When successfully added, you will be alerted that the Domain name was successfully added.

AD Connect Error

You will be required to add a TXT or MX file to your Domain in order to verify the domain belongs to you. See this article “what are the different types of DNS Record“
– Proceed to add the TXT File or MX record to your DNS registrar for Azure AD DNS as shown below. This process might be different for your Domain.

Synchronization service scheduler

When you are done creating the TXT or MX record , click on verify as shown below. Note: Creating this TXT record for your domain verifies ownership of your domain name

configuration change

If successful, you will be notified that the verification process has been completed successfully.

synchronization error

Note: We can make this new custom domain as our primary domain. As you can see above, the option to make it a primary custom domain is grayed out. Simply click on the custom domain names once again and
– Click on the new verified domain.

AD Connect Error

Note: After you've verified your custom domain name, you can delete your verification TXT or MX file.Now you have the option to make the new custom domain the primary domain.

Synchronization service scheduler

Upon clicking to make the new custom domain your primary domain, you will be asked to confirm the change by clicking on “Yes”.

configuration change

When successfully added as the primary domain, you will get an alert that the task was successful.

When refreshed, the verified domain will be the primary domain as shown below.

Now you can download the Azure AD Connect to synchronize your on-premises to Azure Active Directory as well. You can download Microsoft Azure Active Directory Connect here. Next, I will be adding (Azure Global Administrator), deleting, and assigning permissions to users in Azure AD in the next guide.

Here are some common verification issues: If Azure AD can’t verify a custom domain name, try the following suggestions:

  • Wait at least an hour and try again. DNS records must propagate before Azure AD can verify the domain. This process can take an hour or more.
  • Make sure the DNS record is correct. Go back to the domain name registrar site. Make sure the entry is there, and that it matches the DNS entry information provided by Azure AD.
  • If you can’t update the record on the registrar site, share the entry with someone who has permission to add the entry and verify it’s correct.
  • Make sure the domain name isn’t already in use in another directory. A domain name can only be verified in one directory. If your domain name is currently verified in another directory, it can’t also be verified in the new directory. To fix this duplication problem, you must delete the domain name from the old directory. For more information about deleting domain names, see Manage custom domain names.
  • Make sure you don’t have any unmanaged Power BI tenants. If your users have activated Power BI through self-service sign-up and created an unmanaged tenant for your organization, you must take over management as an internal or external admin using PowerShell

I hope you found this blog post on custom domain name to Azure Active Directory helpful. Please let me know in the comment session if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure, Azure AD, Azure AD Tenant, Azure Domain Services, Domain, Microsoft Azure Active Directory

Post navigation

Previous Post: Microsoft Azure Active Directory: How to setup Azure AD Tenant
Next Post: Add or delete users and set permissions in Azure AD

Related Posts

  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • Webp.net resizeimage 7
    Create a new Azure Disk: How to create and attach an extra Disk to Azure Virtual Machine AWS/Azure/OpenShift
  • Webp.net resizeimage 2
    Add or Remove Network Interface from a VM in Azure AWS/Azure/OpenShift
  • image 10
    How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift
  • Screenshot 2022 03 20 at 20.37.16
    Setup HTTPS users using Git credentials and Pushing Code to AWS CodeCommit AWS/Azure/OpenShift
  • Azure subscription role assignment
    Fix Users must have at least permission on these subscriptions AWS/Azure/OpenShift

More Related Articles

image 166 How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
Webp.net resizeimage 7 Create a new Azure Disk: How to create and attach an extra Disk to Azure Virtual Machine AWS/Azure/OpenShift
Webp.net resizeimage 2 Add or Remove Network Interface from a VM in Azure AWS/Azure/OpenShift
image 10 How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift
Screenshot 2022 03 20 at 20.37.16 Setup HTTPS users using Git credentials and Pushing Code to AWS CodeCommit AWS/Azure/OpenShift
Azure subscription role assignment Fix Users must have at least permission on these subscriptions AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • ansible business cards 1600x0 c default
    Various Ansible Authentication Options Configuration Management Tool
  • understanding azure active directory and enterprise mobility security ems 16 638
    Methods for Integrating Azure Active Directory with on-Premise Active Directory AWS/Azure/OpenShift
  • xvbn
    How to restore accidentally deleted calendars, bookmarks, files, or contacts from iCloud Mac
  • lang2
    How to add languages to your Windows PC Windows
  • OOTBI virtual appliance setup on Proxmox
    How to set up the OOTBI Virtual Appliance on Proxmox VE Backup
  • Linux Shell Scripting 1
    Write a Shell Script that Count Lines and Words in a File Linux
  • Create Multiboot OS ISO files on a single bootable USB Disk
    Create Multiboot OS ISO files on a single bootable USB Disk Windows
  • snapshot replication
    How to create Synology Snapshot Replication Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,819 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.