Exchange Connection Problems

Fix Spam Reaching On-Premises Inboxes in Exchange Hybrid

Bushra ParveenBushra Parveen Nov 20, 2026 868 views

Question details

Determine why a message marked as spam reaches an on-premises Inbox while a cloud recipient receives it in Junk Email.

Fix Spam Reaching On-Premises Inboxes in Exchange Hybrid
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.
Before you start

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.

Solution 1Recommended

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.

1
Compare message headers

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.

2
Trace each recipient

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.

3
Check on-premises delivery

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.

4
Review authentication and spam handling

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.

Compare Spam Headers and Hybrid Mail Flow
Interpret headers in context: An SCL of -1 indicates that spam filtering was bypassed, but an Internal authentication header alone does not establish the cause. Compare the headers and trace events across both routes before changing configuration.
Free Microsoft Office alternative

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.

Document hybrid mail flow findings and troubleshooting stepsOpen and edit Microsoft Word, Excel, and PowerPoint formatsUse familiar document, spreadsheet, and presentation toolsMove between Office suites with a lightweight application
microsoft office alternative - wps office

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.