How to Verify a WordPress Domain for Microsoft 365 Education
Question details
The user needs to verify a school website domain built on WordPress for Microsoft 365 Education.

- Product
- Microsoft 365 Education
- Device & OS
- not provided
- Scenario
- Setting up Microsoft 365 Education and linking a school domain hosted on WordPress.
- Observed behavior
- To successfully link the WordPress domain to Microsoft 365, DNS records must be added via the domain registrar rather than modifying WordPress site files directly.
Ensure you have global administrator access to your Microsoft 365 admin center and the login credentials for the domain registrar where your WordPress site's domain was purchased.
Add DNS Verification Records via Domain Registrar
Verify your domain by adding the TXT or MX records provided by Microsoft directly into your domain registrar's DNS settings.
Because WordPress is primarily a content management system, domain verification for Microsoft 365 services cannot be completed by simply editing WordPress site files or uploading HTML files. You must update the DNS records where your domain is actively hosted.
Log in to the Microsoft 365 admin center using your global administrator credentials.
Navigate to Settings > Domains in the left-hand menu and click on 'Add domain'. Enter your exact WordPress site's domain name.
Choose the option to 'Add a TXT record to the domain's DNS records' yourself, and copy the TXT value provided by Microsoft.
Log in to your domain registrar's dashboard (e.g., GoDaddy, Namecheap), locate the DNS management or Advanced DNS section, and create a new TXT record using the values copied from Microsoft.
Return to the Microsoft 365 admin center and click 'Verify'. Keep in mind that DNS changes can occasionally take up to 48 hours to propagate globally.

Equip Your Students with WPS Office for Free
While managing your school's domains and setting up educational infrastructure, consider providing your students and faculty with WPS Office. It is a highly compatible, lightweight office suite that requires zero complex domain administration to get started.

Frequently Asked Questions
Can I verify my domain by adding a file to my WordPress media library?
No, Microsoft 365 requires DNS-level verification via your domain registrar (like a TXT or MX record). Uploading a file to the WordPress media library will not verify domain ownership.
Where do I find my domain registrar if I only know my WordPress login?
You can check your school's IT billing records or use a public WHOIS lookup tool online to find out where your domain was registered. Common registrars include GoDaddy, Bluehost, Namecheap, and Cloudflare.
Why does my Microsoft 365 domain verification say it failed after adding the record?
DNS changes can take anywhere from a few minutes to 48 hours to update globally across all servers. If you just added the TXT record to your registrar, wait 15-30 minutes and try clicking 'Verify' again.




