Verify Your Domain

Summary: This article serves as a guide to setup domain in Office 365.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions


Get Started

A TXT (text) record is a prescribed resource record in the Domain Name System (DNS) used to hold some readable text information about a particular host provided to sources outside your domain. The DNS TXT record is used to verify that you own your domain; it does not affect anything else, is not visible to the public and can be removed at a later date if desired.

Verifying your domain consists of three steps:

  1. Find the TXT record value for verifying domain ownership to Office 365
  2. Create the TXT record
  3. Verify the TXT record
NOTE: If your domain's nameservers point to GoDaddy (that is if GoDaddy is your domain's DNS host), Office 365 can automatically set up DNS records of your Office 365 service, which includes verifying your domain. This is the simplest option if you have a GoDaddy domain, but you can opt to add the records manually yourself (using the setup wizard).

Find the TXT record value for verifying domain ownership to Office 365

  1. Sign in to the Microsoft Online Portal.
  2. Go to the Domains page.
    Office 365 Domains page
  3. On the Domains page, click your domain.
  4. Click Start setup. You'll go back to the domains setup wizard to see the specific value you need to add.
    Office365 Admin Center
  5. Copy the MS=msXXXXXXXX value (including the MS= part) shown next to TXT value.
    Office365 TXT value

NOTE: Just above the TXT record listing you will find step-by-step instructions to add a TXT record to verify your domain based on your DNS host. (If your DNS host does not let you add TXT records, you will see MX record instead of TXT record.)

Back to Top


Create the TXT record

You can follow the general instructions below for creating DNS records for Office 365.

NOTE: You will create only one or the other of these records. TXT is the preferred record type, but some DNS hosting providers don’t support it, in which case you can create an MX record instead.

Steps:

  1. Find the area on your DNS hosting provider’s website where you can create a new record.
  2. Sign in to your DNS hosting provider’s website.
  3. Choose your domain.
  4. Find the page where you can edit DNS records for your domain.
  5. Create the record.
  6. Depending on whether you are creating a TXT record or an MX record, do one of the following.
    • If you create a TXT record, use these values.
      Record Type Alias or Host Name Value TTL
      TXT Do one of the following: Type @ or leave the field empty or type your domain name.
      Note: Different DNS hosts have different requirements for this field.
      MS=msXXXXXXXX
      Note: This is an example. Use your specific Destination or Points to Address value here.
      Set this value to 1 hour or to the equivalent in minutes (60), seconds (3600), etc.
    • If you create an MX record, use these values:
      Record Type Alias or Host Name Value Priority TTL
      MX Type either @ or your domain name. MS=msXXXXXXXX
      Note: This is an example. Use your specific Destination or Points to Address value here.
      About MX Priorities (YH)

      For Priority, to avoid conflicts with the MX record used for mail flow, use a lower priority than the priority for any existing MX records.
      Set this value to 1 hour or to the equivalent in minutes (60), seconds (3600), etc.
  7. Save the record.

 

Back to Top


Verify the TXT record

Now that you have added the record to your domain registrar's site, return to Microsoft Online Portal and request it to look for the record.

Did you log out of Microsoft Online Portal? Log back in and follow the Verify your TXT or MX record process to get back to the Wizard and repeat the steps. Then on the Verify domain page, click Verify.
Office365 Verify Domain

When Office finds the correct TXT record, your domain is verified.

Back to Top


Affected Products

Microsoft 365 from Dell
Article Properties
Article Number: 000186135
Article Type: How To
Last Modified: 17 Jul 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.