A practical method for building source-to-target user maps, choosing a durable matching key, and handling collisions, contractors and shared accounts.
The user map is the single most consequential artifact in a tenant migration. Every mailbox, every OneDrive, every group membership, every permission ACL ultimately resolves against it: this source person becomes that target person. Get one row wrong and a user inherits someone else's mail or loses access to their own files. The real problem is that the obvious key — the directory's own object ID — is worthless across tenants, and the human-readable keys (name, UPN) are exactly the ones that collide and change.
This guide gives you a repeatable method for building a map you can trust.
When you create a user in the target tenant, Entra ID assigns a new object GUID. So the source objectId cannot link the two. That forces you onto a business key — an attribute that means the same thing in both directories. The candidates each have weaknesses:
| Candidate key | Strength | Weakness |
|---|---|---|
| Object ID (GUID) | Unique | Regenerated in target — unusable |
| UPN | Human-readable, usually unique | Changes when the domain moves |
| Primary SMTP | Stable-ish, business-meaningful | Aliases and shared addresses muddy it |
| Employee ID | Stable, HR-authoritative | Often blank for contractors |
mailNickname / alias | Present on every mailbox | Not guaranteed unique |
| Display name | Always present | Collisions ("John Smith" x3) |
Is it really free?
Yes — completely. No trial, no card, no catch. Enter your email and the full guide opens instantly.
Will you spam me?
No. We'll email your copy and, only if you opt in, the occasional genuinely useful migration tip. One click unsubscribes you for good.
Can I share it with my team?
Please do. Forward the PDF or send them the link — every teammate can grab their own copy.