Fix Spam Reaching On-Premises Inboxes in Exchange Hybrid
Question details
Determine why a message marked as spam reaches an on-premises Inbox while a cloud recipient receives it in Junk Email.

- Product
- Exchange Online Protection and Exchange Server hybrid
- Device & OS
- not provided
- Scenario
- A message is sent to both Exchange Online and on-premises recipients in a hybrid organization.
- Observed behavior
- The cloud recipient receives the message in Junk Email, but the on-premises recipient receives it in the Inbox.
Obtain a copy of the same message, including full headers, from both recipients. Note the sender, recipients, delivery time, and message ID so you can compare the message traces and mail flow.
Compare Spam Headers and Hybrid Mail Flow
Use this approach to identify where the spam classification or delivery action differs between cloud and on-premises recipients.
Open the full message headers for both recipients and compare the message ID, received hops, X-Forefront-Antispam-Report, and any X-MS-Exchange-Organization-SCL and X-MS-Exchange-Organization-AuthAs headers.
In the Exchange admin center, go to Mail flow > Message trace and search for the sender, recipients, and delivery time. Compare the cloud delivery details with the route taken to the on-premises organization.
In the on-premises Exchange Management Shell, use Get-MessageTrackingLog with the message ID and delivery time to follow the message through the on-premises servers. Compare those events with the cloud trace.
Check whether the on-premises copy has X-MS-Exchange-Organization-AuthAs: Internal or an SCL of -1, and investigate where those values were applied. Review the applicable spam policies, transport rules, and mailbox safe-sender settings for differences in handling.

Verify Hybrid Connectors and TLS Certificates
Use this check if the traces or headers point to hybrid authentication or connector configuration.
Work With Office Documents While Troubleshooting Exchange
WPS Office is a free, lightweight alternative for opening and editing Office documents in a familiar interface, making it easy to move between suites. It does not change Exchange connectors or spam delivery.

Frequently Asked Questions
Why can the same message go to Junk Email for one recipient and Inbox for another?
The recipients can follow different mail routes and be subject to different spam handling or mailbox settings. Compare the full headers and message traces for both recipients to find where the paths or actions differ.
What does an SCL of -1 mean?
An SCL of -1 indicates that spam filtering was bypassed for the message. Check the message headers, applicable transport rules, and connector configuration to determine where that value was applied.
Does AuthAs: Internal prove that the hybrid connector caused the issue?
No. It is a useful authentication header to investigate, but it does not by itself establish the cause. Compare the received hops, SCL values, and message trace events for both recipient paths.
Where can I check the hybrid TLS certificate?
In the on-premises Exchange admin center, go to Servers > Certificates. Check the certificate used for hybrid TLS against the connector FQDN, its validity dates, issuer, and revocation information.




