Microsoft 365’s built-in spam filtering helps protect users from unwanted emails, but sometimes legitimate emails may end up in the Junk folder. To ensure important emails are delivered directly to the inbox, you can create a Mail Flow Rule (Transport Rule) in the Exchange Admin Center (EAC) to bypass spam filtering.
Quick answer: To bypass junk email in Microsoft 365, create a Mail Flow Rule for the trusted sender or domain and set the Spam Confidence Level (SCL) to -1 (Bypass spam filtering). Their emails will then be delivered to the inbox.
Key Takeaways
- A Mail Flow Rule in the Exchange Admin Center can bypass spam filtering for a specific sender or domain.
- Setting the SCL to -1 tells Microsoft 365 to deliver the message without spam filtering.
- The rule affects only matching senders, not your whole organization.
- The rule takes effect immediately but may take a few minutes to propagate.
- Use Message Trace to confirm the rule was applied.
- Bypassing filtering removes a security layer, so limit it to verified, trusted senders.
Why Do Legitimate Emails Go to Junk in Microsoft 365?
Exchange Online Protection scores every incoming message. If a message looks suspicious, it gets a higher spam score and may be sent to Junk. Legitimate emails can be flagged when:
- The sender’s domain has missing or misconfigured SPF, DKIM, or DMARC records
- The message content or links resemble spam patterns
- The sender is new or has a low reputation
- Bulk or automated emails (such as notifications) are sent from shared infrastructure
What Is a Mail Flow Rule (Transport Rule) in Microsoft 365?
A Mail Flow Rule is a set of conditions and actions that Exchange Online applies to emails as they travel through your organization. You can use these rules to route, block, modify, or, as in this guide, bypass spam filtering for messages from specific senders.
It’s also worth reviewing your mail flow rules after a Microsoft 365 migration, since sender and routing settings can change.
How to Bypass Junk Email Using a Mail Flow Rule
This method allows emails from a specific sender or domain to bypass spam filtering and be delivered directly to users’ inboxes. Before you start, make sure you have Microsoft 365 administrator credentials with access to the Exchange Admin Center, and know the sender’s email address or domain you want to trust.
Step 1: Access the Exchange Admin Center
- 1. Open a web browser and go to Exchange Admin Center (EAC).
- 2. Sign in with your Microsoft 365 administrator credentials.
- 3. In the left pane, click Mail Flow > Rules.
Step 2: Create a New Mail Flow Rule

- 1. Click “+ Add a Rule” and select “Create a new rule”.
- 2. Give the rule a descriptive name, such as “Bypass Junk Email for Trusted Sender”.
- 3. Click More options at the bottom to access advanced settings.
Step 3: Define the Condition
- 1. Under “Apply this rule if…”, click the dropdown and select “The sender’s domain is…”.
- 2. Enter the trusted domain (e.g., example.com) and click Add.
- 3. Alternatively, you can choose “The sender is…” to add a specific email address.
- 4. Add a second condition, such as the sending server’s IP address or a message header check, so the rule doesn’t rely on the sender’s address or domain alone. Microsoft recommends this because sender addresses can be spoofed.

Step 4: Set the Spam Confidence Level (SCL)
- 1. Under “Do the following…”, click the dropdown and select “Modify the message properties” > “Set the spam confidence level (SCL)”.
- 2. Select “-1 (Bypass spam filtering)”.
Step 5: Save and Apply the Rule
- 1. Click Next through the remaining pages, then click Finish to save the rule
- 2. Make sure the rule is enabled.
- 3. The rule will take effect immediately, but it may take a few minutes to propagate across Microsoft 365.
Step 6: Test the Rule
- 1. Ask the sender to send a test email.
- 2. Verify that the email is delivered to the Inbox instead of the Junk Email folder.
- 3. If the email still lands in Junk, check the Message Trace in the Exchange Admin Center to confirm that the rule was applied.
By following these steps, you can ensure important emails are delivered correctly while still maintaining a high level of security in Microsoft 365.
What Does SCL -1 Do in Microsoft 365?
The Spam Confidence Level (SCL) is a score from -1 to 9 that Microsoft 365 assigns to each message. A higher score means the message is more likely to be spam. Setting SCL to -1 tells Exchange Online to skip spam filtering for that message, so it is delivered to the inbox.
Best Practices for Bypassing Spam Filtering Safely
Bypassing spam filtering removes a layer of protection for the senders you trust, so use it carefully:
- Limit the scope. Use a specific sender or domain, and avoid broad rules that cover many senders.
- Verify the sender first. Only trust domains you have confirmed are legitimate.
- Use clear rule names. Descriptive names make audits and troubleshooting easier.
- Review rules regularly. Remove rules that are no longer needed.
- Fix the root cause when possible. If the trusted sender’s SPF, DKIM, or DMARC records are misconfigured, ask them to correct it so email authenticates properly.
Troubleshooting: Email Still Going to Junk
If the test email still lands in Junk after you save the rule:
- Confirm the rule is enabled and the sender or domain is entered correctly.
- Wait a few minutes for the rule to propagate across Microsoft 365.
- Run a Message Trace in the Exchange Admin Center to confirm the rule was applied to the message.
Conclusion
Legitimate emails landing in Junk can disrupt communication, but you don’t have to loosen your security to fix it. A targeted Mail Flow Rule with SCL -1 delivers trusted senders straight to the inbox while Microsoft 365 keeps filtering everyone else.
Keep your rules narrow, name them clearly, review them regularly, and test every change with Message Trace. If the sender’s SPF, DKIM, or DMARC records are misconfigured, ask them to fix those too, so their email authenticates properly. For MSPs handling this across many clients, a consistent approach to Microsoft 365 admin security keeps these exceptions under control.


