Others

Verify a Microsoft 365 Domain Without an MX Record

Chanuka GeekiyanageChanuka Geekiyanage Nov 25, 2026 868 views

Question details

Verify a Microsoft 365 domain using a TXT record instead of an MX record.

Verify a Microsoft 365 Domain Without an MX Record
Product
Microsoft 365 (Office 365)
Device & OS
not provided
Scenario
A domain owner is adding a custom domain to Microsoft 365 and has already added the verification TXT record.
Observed behavior
The DNS provider rejects the Office 365 MX record because its value appears to be an invalid address.
Before you start

Sign in to the Microsoft 365 admin center and your domain's DNS provider. Have the TXT verification value from the domain setup page available so you can compare it with the published DNS record.

Solution 1Recommended

Verify the domain with the TXT record

Use this method when the Microsoft 365 verification TXT record is available; an MX record is not required for domain ownership verification.

1
Open domain setup

In the Microsoft 365 admin center, go to Settings > Domains, select your domain, and open its setup or verification page.

2
Check the TXT record

Choose the TXT verification method and compare the displayed host and value with the TXT record in your DNS provider's management page. If needed, edit the record to match the Microsoft 365 instructions.

3
Verify ownership

Return to the Microsoft 365 domain setup page and select Verify. If verification fails, allow time for the DNS change to propagate and try again.

4
Configure required services

After verification, follow the domain setup page to add the DNS records required for the Microsoft 365 services you plan to use.

Verify the domain with the TXT record
Email may still need an MX record: The TXT record verifies ownership, but receiving mail through Microsoft 365 generally requires the MX record shown in the domain setup instructions. Check its host, destination, and priority against your DNS provider's fields before changing mail routing.
Free Microsoft Office alternative

Use WPS Office for Everyday Document Work

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make migration straightforward, although it does not verify Microsoft 365 domains or configure DNS.

Continue working on office files while domain setup is resolvedOpen and edit Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsInstall a lightweight office suite with a free option
microsoft office alternative - wps office

Frequently Asked Questions

Do I need an MX record to verify my Microsoft 365 domain?

No. If the TXT verification method is available, add the TXT record shown in Settings > Domains and select Verify. An MX record may still be needed later for email delivery.

Why hasn't Microsoft 365 detected my TXT record?

Check the host and value against the verification instructions in the Microsoft 365 admin center. If they match, wait for DNS propagation and select Verify again.

Will TXT verification route my email to Microsoft 365?

No. The TXT record confirms domain ownership. To receive mail through Microsoft 365, follow the domain setup instructions for the required mail service records, including the MX record.

What should I do if my DNS provider rejects the MX destination?

Compare the host, destination, and priority fields with the MX record shown in Microsoft 365 domain setup. If the provider still rejects it, contact the DNS provider or Microsoft 365 support with the error and a screenshot.