0 XP

Adding and verifying a domain

Where a domain is added

A custom domain is added in the Microsoft 365 admin center, not the EAC: Settings > Domains > + Add domain (first-time setups can also use Setup > Get your custom domain set up). Enter the name and select Use this domain. The role needed is Domain Name Administrator, because the change affects the whole tenant. There is no Exchange Online PowerShell step for adding or verifying a domain in this course: it is a Microsoft 365 admin center task.

Proving ownership

There are three ways to verify:

  • TXT record at host @, with the value the wizard gives you. It is used only to verify ownership and does not affect anything else.
  • MX record, if the registrar cannot create TXT records. Give it a high priority value so it does not disturb current mail.
  • A text file on the domain's website.

With Domain Connect registrars (GoDaddy, IONOS, Cloudflare, EuroDNS, Aruba, WordPress.com, Plesk and others), Microsoft 365 adds the verification record and the service records for you.

How long it takes

Verification can take up to 10 minutes, and some registrars need additional time, up to 48 hours. If it has not verified after 20 minutes, the record is not necessarily wrong: wait and verify again. Removing and re-adding the domain does not speed anything up.

Order of the cutover

Once the domain is verified, it appears in the EAC under Mail flow > Accepted domains. Before you point the MX record at Exchange Online, add the users and mailboxes first so mail arriving at Microsoft 365 has somewhere to go. The trap is thinking the TXT record has to come out before the MX change: it has no effect on mail at all.

The accepted domain type, the DNS records and the connectors come next, in the following units.

Knowledge check

4 questions on what you just read. Each answer shows the full explanation and its source.

Loading…