logo
search
Conditional Access Problems

How to Configure Exchange Rules and Conditional Access in Microsoft 365

Adam DavisAdam Davis Sep 30, 2026 870 views

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.

How to Configure Exchange Rules and Conditional Access in Microsoft 365
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.
Before you start

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.

Solution 1Recommended

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.

1
Sign in to Microsoft Entra admin center

Log in to the Microsoft Entra admin center as at least a Conditional Access Administrator.

2
Create a New Policy

Navigate to Protection > Conditional Access > Policies, and click on 'New policy' to define your restrictions.

3
Select Target Resources

Under 'Target resources', choose 'Cloud apps', click 'Select apps', and search for 'Office 365 Exchange Online'.

4
Configure Client Apps Conditions

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.

5
Enable and Save

Set the 'Enable policy' toggle to 'On' (or 'Report-only' for initial testing) and click 'Create'.

Test Shared Mailbox Access: Because shared mailboxes inherit access rules from the authenticated user, test mailbox permissions and shared mailbox access separately to ensure one strict policy does not lock users out of shared resources.
Free Microsoft Office alternative

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.

High compatibility with Microsoft Office formats (.docx, .xlsx, .pptx)Free and lightweight alternative to Microsoft 365 desktop applicationsFamiliar user interface for quick adoption and minimal learning curveBuilt-in PDF editing and AI tools for enhanced team productivity
microsoft office alternative - wps office

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.