Email Sync Problems

Fix Office 365 Primary Email Address Reverting to onmicrosoft.com

Natalie TaylorNatalie Taylor Oct 19, 2026 868 views

Question details

Users need to stop synchronized Microsoft 365 primary email addresses from reverting to the default @onmicrosoft.com domain.

How to Fix Office 365 Primary Email Address Reverting to onmicrosoft.com
Product
Office 365
Device & OS
not provided
Scenario
Managing user attributes in a hybrid environment where local Active Directory accounts sync to Microsoft 365.
Observed behavior
The primary email address ignores the local proxy address configuration and continuously reverts to the default @onmicrosoft.com domain even after directory synchronization is forced.
Before you start

Ensure you have Domain Administrator privileges in your local Active Directory environment and the necessary Global Administrator rights in your Microsoft 365 tenant to perform attribute edits and force Azure AD synchronization.

Solution 1Recommended

Update Proxy Addresses via Active Directory Administrative Center

Use the AD Administrative Center to correctly format and apply the primary SMTP address, which overrides the cloud default during synchronization.

In a hybrid environment, the local Active Directory acts as the source of authority. If the proxyAddresses attribute is missing, incorrectly formatted, or hidden in the standard AD Users and Computers view, the Microsoft 365 cloud environment will default to the onmicrosoft.com routing address.

1
Open AD Administrative Center

Launch the Active Directory Administrative Center on your domain controller, as standard AD interfaces may hide certain advanced attributes.

2
Locate the User Account

Search for the affected synchronized user account and open its properties window.

3
Edit the Proxy Addresses

Navigate to the Extensions tab or Attribute Editor to find the proxyAddresses attribute. Add the correct primary email address using an uppercase prefix (e.g., SMTP:user@domain.com) and ensure secondary aliases use a lowercase prefix (e.g., smtp:alias@domain.com).

4
Verify Target Address

Check the targetAddress attribute to ensure it matches the correct primary routing address and remove any obsolete onmicrosoft.com entries.

5
Force Directory Sync

Open an elevated PowerShell prompt on your Azure AD Connect server and run 'Start-ADSyncSyncCycle -PolicyType Delta' to force synchronization, then verify the result in the Microsoft 365 Admin Center.

Update Proxy Addresses via Active Directory Administrative Center
Formatting Matters: The exact capitalization of the SMTP prefix dictates the primary address. Only one address should ever use the uppercase 'SMTP:' prefix per user.
Free Microsoft Office alternative

Looking for a Simpler Office Solution? Try WPS Office

Managing complex hybrid environments, Active Directory syncs, and Exchange attributes can be overwhelming. If you are looking for a straightforward, hassle-free desktop productivity suite for your daily document needs, WPS Office provides powerful Word, Excel, and PowerPoint alternatives without the complicated cloud management overhead.

  1. 1. Visit the WPS Office Website: Navigate to the official WPS Office website to download the latest free version of the suite.
  2. 2. Install the Software: Run the lightweight installer on your device to set up the Word, Excel, and PowerPoint alternatives.
  3. 3. Open Your Documents: Double-click any existing Microsoft Office files to seamlessly open and edit them in WPS Office with full formatting retention.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Free and lightweight, avoiding complex cloud synchronization and tenant administration.Familiar user interface that requires zero learning curve for new users.Built-in PDF editing tools for comprehensive local document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my email alias use a lowercase 'smtp' while the primary uses uppercase 'SMTP'?

In Active Directory proxy addresses, the uppercase 'SMTP:' strictly defines the primary email address used for sending outbound emails. The lowercase 'smtp:' designates secondary proxy addresses or aliases that can receive inbound emails but will not be the default sending address.

Can I edit the proxyAddresses attribute from the standard Active Directory Users and Computers console?

Yes, but you must first enable 'Advanced Features' under the View menu to make the Attribute Editor tab visible in the user's properties. If it is still missing or difficult to manage, the Active Directory Administrative Center provides a more robust interface.

What should I do if a cloud account was incorrectly merged and keeps reverting the email?

If an incorrectly created cloud account was merged with an on-premises AD account, legacy cloud attributes might continuously overwrite the synced values. You may need to clear the immutable ID, hard-delete the problematic cloud object, and allow Azure AD Connect to provision a fresh, correctly linked account during the next sync cycle.