Fix Microsoft 365 Mailbox Migration Issues With Different UPN and SMTP Addresses
Question details
Resolve mailbox migration and synchronization problems involving user principal names, primary SMTP addresses, and aliases.

- Product
- Microsoft 365, Exchange Online, and Microsoft Entra Connect
- Device & OS
- not provided
- Scenario
- A user is migrating mailboxes to Microsoft 365 with directory synchronization enabled and different UPN and email addresses.
- Observed behavior
- Affected mailboxes do not synchronize successfully during migration.
Identify the affected users, their on-premises UPNs, primary SMTP addresses, aliases, and migration errors. Confirm whether Microsoft Entra Connect synchronizes their accounts and which tenant routing address the migration method requires.
Correct on-premises addresses and synchronize the directory
Use this approach when synchronized user or mailbox addresses are incorrect, missing, or associated with the wrong account.
A UPN and primary SMTP address can be different; a mismatch alone does not necessarily cause a migration failure. Check the actual migration error and address configuration before changing either value.
For directory-synchronized users, make address changes in the on-premises source of authority. The required tenant address depends on the migration and Exchange configuration; not every SMTP alias needs a matching @onmicrosoft.com address.
In Active Directory Users and Computers, open the affected user's Properties and check the User logon name on the Account tab. Compare it with the account shown under Users in the Microsoft Entra admin center.
In the on-premises Exchange admin center, open Recipients, select the affected mailbox, and review its email addresses. Check the primary SMTP address and aliases for errors or duplicates on another recipient.
Review the recipient's routing and proxy addresses in the on-premises Exchange admin center or Exchange Management Shell. Confirm that the address required by your migration method is present on the correct recipient; a hybrid remote routing address commonly uses the tenant's @tenant.mail.onmicrosoft.com domain.
Use the on-premises Exchange admin center or Exchange Management Shell to correct mailbox addresses and routing settings. If the UPN itself is wrong, update the User logon name in Active Directory Users and Computers according to your organization's sign-in requirements.
On the Microsoft Entra Connect server, open PowerShell and run Start-ADSyncSyncCycle -PolicyType Delta. After synchronization completes, verify the account and addresses in Microsoft 365, then retry or resume the affected migration batch in the Exchange admin center.

Investigate a cloud account that does not match the synchronized user
Use this approach if address corrections and a successful sync do not resolve a cloud identity conflict.
Work with Office files in WPS Office during your migration
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Its format compatibility helps users continue document work as they move between office suites. It does not repair Microsoft 365 mailbox migrations or directory synchronization.

Frequently Asked Questions
Do the UPN and primary SMTP address have to match?
No. A user can sign in with a UPN that differs from the primary email address. Investigate the migration error and verify the account's addresses rather than assuming the difference is the cause.
Where should I change addresses for a synchronized mailbox?
Use the on-premises Exchange admin center or Exchange Management Shell for mailbox addresses, then synchronize the change to Microsoft 365. Change an incorrect UPN in the on-premises directory.
Does every email alias need a matching onmicrosoft.com address?
Not necessarily. Required tenant and routing addresses depend on the migration method and Exchange configuration. Check the affected recipient's proxy and routing addresses against the requirements for your migration.
How do I force Microsoft Entra Connect to synchronize changes?
On the Microsoft Entra Connect server, open PowerShell and run Start-ADSyncSyncCycle -PolicyType Delta. Wait for synchronization to finish, then verify the affected account in Microsoft 365.
Should I delete and recreate the cloud user if migration still fails?
Not as a first step. Deletion can affect the mailbox, licenses, and identity matching. Review synchronization errors and consult Microsoft guidance or support before making a recovery plan.




