Microsoft Account Errors

Remove the onmicrosoft.com Suffix from Microsoft 365 Office Accounts

John WilsonJohn Wilson Nov 25, 2026 868 views

Question details

The organization wants Office applications to display synchronized users with their primary email addresses or UPNs instead of an onmicrosoft.com suffix.

Remove the onmicrosoft.com Suffix from Microsoft 365 Office Accounts
Product
Microsoft 365 Office and Microsoft Entra Connect
Device & OS
not provided
Scenario
Users are synchronized from on-premises Active Directory to Microsoft 365 and sign in to Office applications.
Observed behavior
Office displays some synchronized accounts with an onmicrosoft.com suffix rather than the organization's primary domain.
Before you start

Confirm which Office application shows the suffix and whether it appears in the sign-in UPN or the email address. An administrator needs access to on-premises Active Directory, the Microsoft 365 admin center, and the directory synchronization server.

Solution 1Recommended

Check the primary SMTP address and synchronize the user

Use this approach when the displayed email address is incorrect for a user synchronized from on-premises Active Directory.

For synchronized users, make source-managed address changes on-premises rather than editing them in the Microsoft 365 admin center. The primary SMTP address and the sign-in UPN are separate attributes; correcting one does not automatically correct the other.

1
Verify the custom domain

In the Microsoft 365 admin center, open Settings > Domains and confirm that the organization's custom domain is verified and set as the default. Setting a default domain does not automatically rename existing users.

2
Check the user's addresses

In Active Directory Users and Computers, enable View > Advanced Features, open the user's Properties, and select Attribute Editor > proxyAddresses. Confirm that the primary address has uppercase SMTP, such as SMTP:user@contoso.com, and that secondary SMTP aliases use lowercase smtp.

3
Correct the primary address

If the primary address is wrong, update it using the organization's supported on-premises Exchange management tools or Active Directory management process. Ensure there is only one uppercase SMTP entry and retain any required aliases.

4
Run synchronization

On the Microsoft Entra Connect server, open PowerShell with the required permissions and run Start-ADSyncSyncCycle -PolicyType Delta. Allow the synchronization to complete.

5
Review the result

In the Exchange admin center, open Recipients > Mailboxes, select the user, and review the email addresses. If the result is still incorrect, open Synchronization Service Manager (MIISClient) on the sync server and check the Operations tab for errors.

A service account may use the suffix: An onmicrosoft.com name on the directory synchronization service account is normal and does not by itself indicate an error.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It does not change Microsoft 365 account names or fix directory synchronization.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsWork with Office files while an administrator investigates the account suffixMove existing Office files into a lightweight productivity suite
QA img-9

Frequently Asked Questions

Does changing the primary SMTP address also change the sign-in UPN?

No. The primary SMTP address and UPN are separate attributes. Check proxyAddresses for the email address and the Account tab in Active Directory Users and Computers for the on-premises UPN.

Why does uppercase SMTP matter in proxyAddresses?

Uppercase SMTP identifies the primary SMTP address, while lowercase smtp identifies secondary aliases. Review the values in the user's Attribute Editor and ensure there is only one uppercase SMTP entry.

Will setting the custom domain as the default rename existing users?

No. Setting the default domain in Microsoft 365 admin center > Settings > Domains does not automatically change existing usernames or email addresses.

Where can I check for directory synchronization errors?

On the Microsoft Entra Connect server, open Synchronization Service Manager (MIISClient) and review the Operations tab. Also check the affected user's addresses in Exchange admin center > Recipients > Mailboxes.

Is an onmicrosoft.com synchronization service account a problem?

No. The directory synchronization service account can normally have an onmicrosoft.com name. Investigate the affected users' addresses or UPNs separately.