You can't completely turn off spam filtering, but you can use a mail flow rule (also known as a transport rule) to bypass most spam filtering on incoming message (for example, if you route email through a third-party protection service or device before delivery to Microsoft 365). The View-Only Organization Management role group in Exchange Online also gives read-only access to the feature.įor our recommended settings for anti-spam policies, see EOP anti-spam policy settings.For more information, see About admin roles. Adding users to the corresponding Azure Active Directory role in the Microsoft 365 admin center gives users the required permissions and permissions for other features in Microsoft 365.For read-only access to anti-spam policies, you need to be a member of the Global Reader or Security Reader role groups.įor more information, see Permissions in Exchange Online.To add, modify, and delete anti-spam policies, you need to be a member of the Organization Management or Security Administrator role groups.You need to be assigned permissions in Exchange Online before you can do the procedures in this article: To connect to standalone EOP PowerShell, see Connect to Exchange Online Protection PowerShell. To connect to Exchange Online PowerShell, see Connect to Exchange Online PowerShell. To go directly to the Anti-spam policies page, use. You open the Microsoft 365 Defender portal at. What do you need to know before you begin? To increase the effectiveness of spam filtering, you can create custom anti-spam policies with stricter settings that are applied to specific users or groups of users. The policy is the default policy (the IsDefault property has the value True), and you can't delete the default policy.
Any custom policies that you create always have a higher priority.
Custom policies always take precedence over the default policy, but you can change the priority (running order) of your custom policies. For greater granularity, you can also create custom anti-spam policies that apply to specific users, groups, or domains in your organization. For more information, see Anti-spam protection.Īdmins can view, edit, and configure (but not delete) the default anti-spam policy. EOP uses anti-spam policies (also known as spam filter policies or content filter policies) as part of your organization's overall defense against spam.
In Microsoft 365 organizations with mailboxes in Exchange Online or standalone Exchange Online Protection (EOP) organizations without Exchange Online mailboxes, inbound email messages are automatically protected against spam by EOP. Microsoft Defender for Office 365 plan 1 and plan 2.Want to experience Microsoft 365 Defender? Learn more about how you can evaluate and pilot Microsoft 365 Defender.