Microsoft 365 starts every school on a name like contoso.onmicrosoft.com. This guide adds the school's own domain, proves you own it and adds the records that make email, Outlook and device enrolment work.
Staff and pupils sign in with the school's own address.
A new tenant only has an onmicrosoft.com name, which nobody recognises.
Add the domain, prove you own it with a DNS record and set it as the default.
Every name, address and value in this guide is an example. Replace them with your own.
What you will have at the end
| Item | Example |
|---|---|
| Tenant | contoso.onmicrosoft.com |
| School domain | contoso.com, verified and set as default |
| Staff and pupil sign-in | name@contoso.com |
| MX, SPF, DKIM and DMARC records in place | |
| Devices | Windows enrolment records for Entra join and Intune |
What you need
- A Global Administrator account for the tenant.
- Access to the school's DNS, wherever it is hosted: your registrar, Azure DNS or your web host.
- Half an hour, then up to a day for DNS changes to reach Microsoft.
The route
- Add and verify the domain
One TXT record proves you own it.
- Add the email records
MX, SPF and autodiscover.
- Turn on DKIM and DMARC
Sign outgoing mail and publish your policy.
- Add device enrolment DNS records
So Windows finds Entra and Intune by itself.
- Set it as default and check
New accounts get the school's name.
A school or trust can verify a subdomain such as edu.contoso.com in a different tenant from contoso.com. This works with a Microsoft Education tenant. Put the subdomain in its own DNS zone so its records stay apart from the main site.


