Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

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

Posted on 06/07/202005/09/2026 Christian By Christian No Comments on How to add and verify a custom domain name to Azure Active Directory
  1. Home /
  2. AWS/Azure/OpenShift /
  3. 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. Please see how To Configure VM Update Management on Azure Stack Hub, and How to increase the Windows PIN complexity to accommodate more digits.

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.

Notification panel indicating that the domain name 'techdirectarchive.com' has been made the primary domain for TechDirectArchive.

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

Screenshot of Azure Active Directory custom domain names management interface, displaying domain names with their verification status.

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.

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
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

  • chamedk8s featured
    Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift
  • Unable to ping an EC2 Instance
    Unable to Ping an EC2 Instance AWS/Azure/OpenShift
  • images
    Fix the Synchronization service scheduler is suspended AWS/Azure/OpenShift
  • Deploy Web App from GitHub
    Deploy Code from GitHub to Azure Apps Services via the Command line AWS/Azure/OpenShift
  • maxresdefault 2 6
    How to create an AMI from the Command line AWS/Azure/OpenShift
  • azure just in time
    How to secure access to your Virtual Machine with Just-in-Time (JIT) VM Access AWS/Azure/OpenShift

More Related Articles

chamedk8s featured Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift
Unable to ping an EC2 Instance Unable to Ping an EC2 Instance AWS/Azure/OpenShift
images Fix the Synchronization service scheduler is suspended AWS/Azure/OpenShift
Deploy Web App from GitHub Deploy Code from GitHub to Azure Apps Services via the Command line AWS/Azure/OpenShift
maxresdefault 2 6 How to create an AMI from the Command line AWS/Azure/OpenShift
azure just in time How to secure access to your Virtual Machine with Just-in-Time (JIT) VM Access 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

  • image 8
    Enable or disable Core Isolation Memory Integrity in Windows 10 and 11 Windows
  • Windows BootProcess
    Measured Boot, Secure Boot, Trusted Boot, and Early Launch Anti-Malware: How to secure the Windows 10 boot process Security | Vulnerability Scans and Assessment
  • asdfgh
    Install RSAT on Windows via Windows features Windows
  • ycx
    Install SysInternals from the Microsoft Store Windows
  • Compacting VHD
    How to Compact Virtual Hard Disks on VMware Virtualization
  • unnamed
    How to start an application automatically on Mac Mac
  • Webp.net resizeimage 5
    How to Improve Website Response Using Traffic Manager AWS/Azure/OpenShift
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.