How to Configure Exchange Rules and Conditional Access in Microsoft 365
Question details
The user needs to configure Microsoft 365 to restrict mail clients, filter messages by keywords, manage bulk sending recipient limits, and handle complex shared mailbox access scenarios.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Administering email security, access policies, and routing thresholds for an organization using Exchange Online and Microsoft Entra.
- Observed behavior
- Administrators require granular controls to block desktop and mobile clients while allowing web access, and need rules to detect keywords for spam filtering without breaking shared mailbox access.
Ensure you have the required Microsoft Entra ID P1 or P2 licenses for Conditional Access features, and verify that your account has Exchange Administrator or Global Administrator privileges.
Restrict Mail Clients Using Microsoft Entra Conditional Access
Create a Conditional Access policy to block desktop and mobile Exchange clients while allowing browser-based Outlook on the web.
Microsoft Entra Conditional Access allows you to restrict Exchange Online access by client type. This approach is highly effective for enforcing security but requires careful testing so it does not inadvertently block shared mailbox access.
Log in to the Microsoft Entra admin center as at least a Conditional Access Administrator.
Navigate to Protection > Conditional Access > Policies, and click on 'New policy' to define your restrictions.
Under 'Target resources', choose 'Cloud apps', click 'Select apps', and search for 'Office 365 Exchange Online'.
Go to 'Conditions' > 'Client apps' and select the client types you want to block (e.g., Mobile apps and desktop clients). Set your access controls to block these while omitting 'Browser' to allow web access.
Set the 'Enable policy' toggle to 'On' (or 'Report-only' for initial testing) and click 'Create'.
Filter Messages by Keywords Using Exchange Mail Flow Rules
Configure an Exchange mail flow rule to detect specified keywords in incoming messages and automatically set the spam confidence level (SCL).
Manage Recipient Limits to Control Bulk Sending
Restrict the number of recipients a user can email at once to prevent unauthorized bulk messaging.
Looking for a Reliable Office Suite? Try WPS Office
While Microsoft 365 handles complex enterprise email routing and Conditional Access, you might also need a powerful suite for daily document creation. WPS Office provides a free, lightweight, and robust alternative for your document, spreadsheet, and presentation needs, ensuring seamless format compatibility without the heavy subscription costs.

Frequently Asked Questions
Why does my Conditional Access policy block shared mailbox access?
Shared mailboxes do not have their own separate sign-in credentials. If a Conditional Access policy blocks the primary user's access based on specific conditions (like device compliance or client type), it also blocks their ability to open the shared mailbox. You must configure exclusions or test permissions separately.
Can I limit simultaneous bulk emails using an Exchange mail flow rule?
Exchange Online does not provide a simple mail flow rule to cap simultaneous bulk messages dynamically. To control bulk sending, you must configure strict recipient limits on individual mailboxes within the Exchange Admin Center.
What licensing is required to restrict mail clients in Microsoft 365?
Restricting mail clients using Microsoft Entra Conditional Access requires a Microsoft Entra ID P1 or P2 license. These licenses are typically included in premium subscriptions like Microsoft 365 Business Premium, E3, and E5.




