You can create custom security policies to set up protection of mailboxes; and to detect malware, phishing, spam, mass mail, unwanted attachments, and email messages from unwanted senders in email messages for particular users and groups.
In the left part of the page, select the Protection settings section.
In the upper part of this section, select the Exchange Online subsection.
Click the Create a security policy button.
The Create a security policy window is displayed.
In the Security policy name field, enter a security policy name. This name will be displayed in the list of security policies and in the policy configuration window.
Click the Create button.
The policy configuration window is displayed.
Specify the actions to apply to detected email messages. To do so, configure the Kaspersky Security for Microsoft Office 365 protection modules by switching on the required toggle button (Anti-Malware, Anti-Phishing, Anti-Spam, Mass Mail Prevention, Attachment Filtering, and Denylist) and specifying the settings, as described in the respective sections.
The security policy is added to the Protection settings list and is assigned the highest priority. Later, you can change the policy priority.
The corresponding columns of the Protection settings list display the policy priority and the number of mailboxes that are included in the scope. The smaller the priority value, the higher the priority.