Email Sync Problems

Fix Synced Microsoft 365 User Email Reverting to onmicrosoft.com

John WilsonJohn Wilson Oct 22, 2026 868 views

Question details

A synchronized Microsoft 365 user's primary email address unexpectedly changes to the tenant's default onmicrosoft.com domain.

How to Fix Synced Microsoft 365 User Email Reverting to onmicrosoft.com
Product
Microsoft 365
Device & OS
not provided
Scenario
Managing user accounts and email addresses in a hybrid Microsoft 365 and on-premises Active Directory environment.
Observed behavior
The user's primary email address reverts to the default tenant onmicrosoft.com domain instead of keeping the assigned custom domain as the default.
Before you start

Ensure you have administrative privileges to both your on-premises Active Directory and the Microsoft 365 admin center before making attribute changes.

Solution 1Recommended

Check and Update the Active Directory proxyAddresses Attribute

Ensure the desired custom domain email is set as the primary SMTP address using uppercase formatting.

In a hybrid environment, Microsoft 365 relies on on-premises Active Directory attributes to dictate email addresses. If the primary email is not explicitly defined in the proxyAddresses attribute, Azure AD Connect may default to the onmicrosoft.com routing domain.

1
Access Active Directory Users and Computers

Log in to your on-premises server and open 'Active Directory Users and Computers'.

2
Enable Advanced Features

Click on the 'View' menu at the top and select 'Advanced Features' to reveal additional tabs.

3
Open User Properties

Locate the affected user account, right-click on it, and select 'Properties'.

4
Modify the proxyAddresses Attribute

Navigate to the 'Attribute Editor' tab, scroll down to find the 'proxyAddresses' attribute, and click 'Edit'.

5
Set the Primary SMTP Address

Ensure that the intended primary email address is prefixed with an uppercase 'SMTP:' (e.g., SMTP:user@customdomain.com). Lowercase 'smtp:' is strictly for secondary aliases.

6
Save and Sync

Apply the changes and force an Azure AD Connect synchronization using PowerShell or wait for the standard sync cycle.

Check and Update the Active Directory proxyAddresses Attribute
Sync Delay: It may take up to 30 minutes for directory changes to propagate through Azure AD Connect to your Microsoft 365 tenant.
Free Microsoft Office alternative

Need a Reliable Alternative for Office Tasks? Try WPS Office

While managing Microsoft 365 hybrid server environments can be complex and technical, handling your daily documents doesn't have to be. WPS Office offers a free, lightweight, and user-friendly alternative to Microsoft Office.

Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight software that installs quickly and consumes minimal system resources.Familiar user interface ensuring a seamless migration without a steep learning curve.Built-in robust PDF editing tools combined with essential office productivity apps.
QA img-9

Frequently Asked Questions

Why does Microsoft 365 keep changing my custom domain to onmicrosoft.com?

This commonly occurs in a hybrid setup when the on-premises Active Directory doesn't explicitly define the primary SMTP address using the correct capitalization in the proxyAddresses attribute, causing Azure AD Connect to fall back to the tenant's default routing domain.

What is the difference between uppercase SMTP and lowercase smtp in Active Directory?

In the proxyAddresses attribute, an uppercase 'SMTP:' designates the primary, default email address for the user, while a lowercase 'smtp:' is used for adding secondary email aliases that the user can receive mail from.

How long does it take for on-premises AD changes to sync to Microsoft 365?

By default, Azure AD Connect synchronizes directory changes every 30 minutes. You can also manually force a delta sync using the ADSync PowerShell module to apply your changes immediately.