✅ Recommended Method: Create a Mail Flow Rule (Transport Rule)

This method allows you to define specific conditions under which emails from certain domains bypass spam filtering.​CloudInfra

Steps:

  1. Access the Exchange Admin Center:​CloudInfra+5Alitajran+5Microsoft Answers+5
  2. Create a New Rule:​LazyAdmin+8Microsoft Answers+8kjctech.net+8
  3. Define Rule Conditions:​
    • Name: Assign a descriptive name to the rule.​Microsoft Answers+5Microsoft Learn+5kjctech.net+5
    • Apply this rule if:
      • Select The sender > domain is > enter the domain you wish to allow.
      • Optionally, add conditions to enhance security, such as verifying that the sender passes SPF, DKIM, or DMARC checks.
  4. Set Actions:​Alitajran+2Microsoft Learn+2Microsoft Learn+2
    • Do the following:
      • Select Modify the message properties > set the spam confidence level (SCL) > choose Bypass spam filtering.
      • Optionally, add a custom header for tracking purposes.
  5. Finalize the Rule:​Microsoft Answers+1Microsoft Answers+1

This approach is preferred as it allows for granular control and can incorporate additional security checks to ensure the legitimacy of the sender. ​Active Directory Pro


⚠️ Alternative Method: Use the Tenant Allow/Block List

This method involves adding domains to the Tenant Allow/Block List to permit emails from those domains.​CloudInfra+2Microsoft Learn+2Microsoft Learn+2

Steps:

  1. Access the Microsoft 365 Defender Portal:​Microsoft Answers+4CloudInfra+4Alitajran+4
  2. Navigate to Tenant Allow/Block Lists:​Alitajran+4Microsoft Learn+4CloudInfra+4
  3. Add Domains to Allow List:​Active Directory Pro+5Alitajran+5LazyAdmin+5

Note: This method should be used cautiously, as it may bypass certain security checks, potentially allowing malicious emails if the allowed domain is compromised. ​CloudInfra


⚠️ Less Recommended Method: Modify Anti-Spam Policies

Adjusting anti-spam policies to allow specific domains is generally not advised, as it can bypass multiple layers of security.​

Steps:

  1. Access the Microsoft 365 Defender Portal:​
  2. Navigate to Anti-Spam Policies:​
    • Go to Email & collaboration > Policies & rules > Threat policies > Anti-spam.​
  3. Edit Inbound Policy:​Alitajran+3Microsoft Learn+3LazyAdmin+3

Caution: This method is less secure and should be used only when necessary, as it may allow spoofed emails to bypass spam filters. ​LazyAdmin


Summary:

Implementing these methods carefully will help ensure that legitimate emails from trusted domains are delivered without being marked as spam.