Danny Moran

How to add a Custom Domain Name to Microsoft Azure

Published November 12, 2022 by Danny Moran

Table of Contents
PAGE CONTENT

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

  1. Navigate and login to the Microsoft Azure portal: https://portal.azure.com

  2. Using the search bar, search for Azure Active Directory and then select the Azure Active Directory service.

  3. In the Overview tab, check you are logged into the correct tenant.

  4. Scroll down and select Custom domain names.

  5. Select Add custom domain.

  6. Enter the domain name you want to add and then press Add domain*.

  7. Login to your domain name provider (or DNS provider if you are using a separate provider for public DNS services.)

  8. Create a TXT record with the information given in the Azure portal:

    • Hostname: @
    • Value: MS=msXXXXXXXX
  9. 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.