Add the domain in the admin centre, publish the TXT record it gives you, then verify. Nothing about email or sign-in changes yet.
Add the domain
Type contoso.com and select Use this domain. Choose Add a TXT record to the domain's DNS records.
Publish the TXT record
The wizard shows a value like MS=ms12345678. Add it at your DNS host:
| Type | Name | Value | TTL |
|---|---|---|---|
| TXT | @ | MS=ms12345678 | 3600 |
For edu.contoso.com the wizard says the name is "edu". If edu.contoso.com has its own DNS zone, the record belongs at @ inside that zone. Putting "edu" there creates edu.edu.contoso.com, and verification fails.
If the domain is in Azure DNS:
$rg = "rg-contoso-dns"; $z = "contoso.com" az network dns record-set txt add-record -g $rg -z $z -n "@" -v "MS=ms12345678"
Check it, then verify
Resolve-DnsName contoso.com -Type TXT -Server 8.8.8.8 | Select-Object Strings
When the value appears, return to the wizard and select Verify. Next, it asks how to connect services. Choose Add your own DNS records and continue with Add email DNS records.
Done when
Settings › Domains lists contoso.com with the status Verified, even if it still says some records are missing.


