Verify a Microsoft 365 Domain Without an MX Record
Question details
Verify a Microsoft 365 domain using a TXT record instead of 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.
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.
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.
In the Microsoft 365 admin center, go to Settings > Domains, select your domain, and open its setup or verification page.
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.
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.
After verification, follow the domain setup page to add the DNS records required for the Microsoft 365 services you plan to use.

Get help with a rejected Microsoft 365 MX record
Use this approach if you need Microsoft 365 email and your DNS provider still rejects the service MX record.
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.

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.




