Two CNAME records let Windows devices find Entra and Intune when a user signs in with a school address.
What improves
Windows devices find Entra and Intune by themselves.
Why it matters
Without the records, users have to type server names during enrolment.
How you do it
Add two CNAME records for the school's domain.
Every name, address and value in this guide is an example. Replace them with your own.
The records
| Type | Name | Value | For |
|---|---|---|---|
| CNAME | enterpriseregistration | enterpriseregistration.windows.net | Entra device registration |
| CNAME | enterpriseenrollment | enterpriseenrollment-s.manage.microsoft.com | Intune enrolment |
Azure CLI
az network dns record-set cname set-record -g $rg -z $z -n enterpriseregistration -c enterpriseregistration.windows.net az network dns record-set cname set-record -g $rg -z $z -n enterpriseenrollment -c enterpriseenrollment-s.manage.microsoft.com
One more record for Teams
Teams uses one SRV record so staff can chat with people outside the school.
| Type | Service | Protocol | Priority | Weight | Port | Target |
|---|---|---|---|---|---|---|
| SRV | _sipfederationtls | TCP | 100 | 1 | 5061 | sipfed.online.lync.com |
Done when
Check
Both names resolve to their Microsoft targets with Resolve-DnsName … -Server 8.8.8.8.


