Fix an Exchange Online Reply Address Conflict in a Hybrid Environment
Question details
Identify and correct an unexpected onmicrosoft.com reply address for a synchronized Exchange Online mailbox.

- Product
- Exchange Online in a hybrid Microsoft 365 environment
- Device & OS
- not provided
- Scenario
- A user needs the correct primary domain address to appear when sending and receiving replies after an Active Directory name change or duplicate account issue.
- Observed behavior
- An onmicrosoft.com address appears as the reply address, and proxy addresses in local Active Directory differ from those in Exchange Online.
Confirm that the mailbox is synchronized from on-premises Active Directory and identify the intended primary SMTP address. Sign in with permissions to inspect Exchange Online and manage the on-premises recipient.
Verify and correct the synchronized primary SMTP address
Use this approach when an Exchange Online mailbox is managed from on-premises Active Directory and displays the wrong reply address.
In a hybrid environment, manage synchronized recipient addresses on-premises and allow Microsoft Entra Connect to synchronize the changes. Outlook does not change the mailbox's primary SMTP address.
Connect to Exchange Online PowerShell and run Get-Mailbox -Identity user@domain.com | Format-List PrimarySmtpAddress,EmailAddresses. Check whether the intended address is already the primary SMTP address.
In on-premises Exchange management tools, inspect the recipient's email addresses, or run Get-RemoteMailbox -Identity user@domain.com | Format-List PrimarySmtpAddress,EmailAddresses. Compare the primary address and aliases with Exchange Online.
Search the relevant recipients in the Exchange admin center or Exchange Management Shell for the intended address. If another object holds it, investigate the duplicate account and remove or reassign the address only after confirming which object should own it.
If the primary address is wrong, use the on-premises Exchange admin center or Exchange Management Shell to set the intended address as primary. Keep required aliases and hybrid routing addresses intact; in proxyAddresses, the primary address uses uppercase SMTP: and secondary SMTP addresses use lowercase smtp:.
Wait for Microsoft Entra Connect synchronization, or run Start-ADSyncSyncCycle -PolicyType Delta on the synchronization server if authorized. Then rerun Get-Mailbox and send a test message from Outlook to verify the From and reply address.

Work with Office files in WPS Office while resolving Exchange settings
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. It supports a seamless move between common document formats, but it does not fix Exchange Online mailbox addresses or synchronization.

Frequently Asked Questions
Can I change the mailbox's primary reply address in Outlook?
No. Outlook does not change the mailbox's primary SMTP address. For a synchronized hybrid recipient, update the address using the on-premises Exchange management tools and allow it to synchronize.
How do I check which address is primary in Exchange Online?
In Exchange Online PowerShell, run Get-Mailbox -Identity user@domain.com | Format-List PrimarySmtpAddress,EmailAddresses. The PrimarySmtpAddress value shows the mailbox's primary address.
Why does the intended address conflict with another account?
An SMTP address can be assigned to another recipient, including a duplicate account. Search the relevant recipients in the Exchange admin center or Exchange Management Shell, then confirm ownership before removing or reassigning the address.
Should I remove the onmicrosoft.com addresses?
Not necessarily. An onmicrosoft.com address can be an alias or serve a hybrid routing purpose. Inspect the recipient's addresses in the on-premises Exchange management tools and preserve required aliases and routing addresses.
How can I check whether the change has synchronized?
After the Microsoft Entra Connect sync cycle, rerun Get-Mailbox in Exchange Online PowerShell and compare PrimarySmtpAddress with the intended address. Then send a test message from Outlook and check the address recipients see.




