Exchange Connection Problems

Fix a Microsoft 365 Mail Loop Caused by a Missing onmicrosoft.com Alias

Chanuka GeekiyanageChanuka Geekiyanage Nov 22, 2026 868 views

Question details

Determine why migrated users experience mail loops between EXIM and Microsoft 365 when their tenant onmicrosoft.com proxy address is missing or not recognized by a transport rule exception.

Fix a Microsoft 365 Mail Loop Caused by a Missing onmicrosoft.com Alias
Product
Microsoft 365 Exchange Online and EXIM
Device & OS
not provided
Scenario
Users are being migrated in batches from an on-premises EXIM server to Exchange Online using a connector and a transport rule with a mail-enabled security group exception.
Observed behavior
Some migrated users lacked a tenant onmicrosoft.com proxy address. After the address was added to proxyAddresses and appeared in Microsoft 365, the transport rule exception still did not stop messages from looping between Exchange Online and EXIM.
Before you start

Identify one working user and one affected user, and have their email addresses, migration status, and directory synchronization method available. Confirm the tenant's correct onmicrosoft.com domain and locate the transport rule, connector, and mail-enabled security group used for routing.

Solution 1Recommended

Compare and Synchronize the Affected Users' Proxy Addresses

Use this approach to identify differences in provisioning and confirm that affected recipients have the correct tenant alias in Microsoft 365.

1
Compare recipient attributes

In your on-premises directory management tool, compare the proxyAddresses values and provisioning method for a working user and an affected user. Check the corresponding recipients in the Exchange admin center under Recipients.

2
Verify the tenant alias

Check that each affected user has the intended SMTP proxy address using the correct tenant onmicrosoft.com domain. For a directory-synchronized user, make any needed change in the authoritative on-premises directory rather than relying on a cloud-only edit.

3
Check synchronization

Use your directory synchronization tool to check for sync errors and run or wait for the next synchronization cycle. Then reopen the affected recipient in the Exchange admin center and confirm that the alias appears.

4
Retest delivery

Send a test message to an affected user and use Exchange admin center > Mail flow > Message trace to check its path. If it still loops, review the transport rule and connector conditions.

Compare and Synchronize the Affected Users' Proxy Addresses
An alias alone may not fix routing: The address must be synchronized and recognized by the relevant recipient and rule conditions. Adding an alias does not by itself correct an incorrectly scoped rule, connector, or group exception.
Free Microsoft Office alternative

Use WPS Office for Documents During Your Microsoft 365 Migration

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility, making it easier to move everyday document work between suites. It does not fix Exchange Online mail routing or connector issues.

Document migration checks and routing notes in a familiar editorOpen and edit Microsoft Word DOCX, Excel XLSX, and PowerPoint PPTX filesUse a free, lightweight suite for everyday office workMove existing Office files into a familiar interface with minimal disruption
microsoft office alternative - wps office

Frequently Asked Questions

Why does mail still loop after I add the onmicrosoft.com alias?

The alias may have synchronized successfully while the transport rule exception, group membership, recipient matching, or connector scope still routes the message back to EXIM. Check Mail flow > Rules and Mail flow > Connectors in the Exchange admin center, then compare message traces.

Where should I update the alias for a synchronized user?

Update the proxyAddresses attribute in the authoritative on-premises directory, then check your synchronization tool for errors and confirm the address appears on the recipient in the Exchange admin center.

How can I check whether the routing exception includes a migrated user?

Review the exception under Exchange admin center > Mail flow > Rules. If it uses a mail-enabled security group, inspect the group's membership in Microsoft 365 admin center > Teams & groups > Active teams & groups and confirm any changes have synchronized.

How do I find where a message is being redirected?

Run a test message through Exchange admin center > Mail flow > Message trace and review the trace details. Compare them with EXIM mail logs and a trace for a working recipient to identify the routing difference.