Introduction
Microsoft 365 hybrid environments rely on Entra Connect to synchronize identities between on-premises Active Directory and the cloud. While synchronization works seamlessly most of the time, there is a critical behavior that often catches even experienced administrators off guard:
Domain verification triggers an automatic, forced reconciliation of all User Principal Names (UPNs).
This article explains:
Why this happens
The difference between regular sync and domain verification events
How to prevent unexpected UPN changes
The Scenario That Causes Panic
On-Premises Active Directory
User: Kaveendra
AD UPN: [email protected] (Using employee ID format)
SamAccountName: Kaveendra
Synced to Entra ID
Cloud UPN: [email protected]
ImmutableID: Linked to on-premises
Sync status: Healthy
Manual Cloud Fix (PowerShell)
Update-MgUserCloud UPN changed to: [email protected] (Using name format)
Everything appears stable.
Then you add a new domain — for example:
company.com
hello.com
You add the TXT record and click Verify.
Within minutes:
After Domain Verification
Cloud UPN: [email protected]
All user prefixes revert to match the on-premises AD UPN prefix
The cloud change is automatically overwritten.
Technical Deep Dive: Normal Sync vs Domain Verification
1. Regular Delta Sync (Every 30 Minutes)
Azure AD Connect (Entra Connect) uses a delta sync process during normal operation.
Key characteristics:
Runs every 30 minutes
Syncs only detected changes
Respects existing cloud overrides when on-premises values have not changed
This is why manual UPN updates in the cloud survive normal sync cycles. Since the on-premises UPN (971015@...) has not changed, Entra Connect does not overwrite it.
2. Domain Verification Event (The Real Trigger)
When you verify a domain in Microsoft 365, a completely different internal process is triggered.
This is:
NOT a standard sync operation
NOT a delta sync
An internal Entra ID reconciliation process
Executed immediately
Bypasses normal sync rules
Microsoft makes two internal assumptions:

Join the conversation! Your thoughts help the community grow.