How to add a Custom Domain Name to Microsoft Azure
Published November 12, 2022 by Danny Moran
Table of Contents
Introduction
Learn how to add and verify a custom domain name in the Microsoft Azure portal. In this example, I show you how to add a domain name to your Microsoft Azure Active Directory tenant, and then verify the domain ownership using a DNS TXT record.
How to add a custom domain name to Microsoft Azure video
How to add a custom domain name to Microsoft Azure
Navigate and login to the Microsoft Azure portal: https://portal.azure.com
Using the search bar, search for Azure Active Directory and then select the Azure Active Directory service.
In the Overview tab, check you are logged into the correct tenant.
Scroll down and select Custom domain names.
Select Add custom domain.
Enter the domain name you want to add and then press Add domain*.
Login to your domain name provider (or DNS provider if you are using a separate provider for public DNS services.)
Create a TXT record with the information given in the Azure portal:
- Hostname: @
- Value: MS=msXXXXXXXX
Once the DNS records have been added, press Verify in the Azure portal. You may have to wait up to 72 hours depending on how fast your DNS provider updates DNS records, but usually this is near instant.
Your custom domain name is now verified and can be attached to users and resources.