How to Create an Exchange Online Mail Flow Rule to Remove a Recipient
Question details
The user needs to create an Exchange Online mail flow rule that stops a specific internal recipient from receiving messages addressed to a particular external domain.

- Product
- Microsoft Exchange Online / Microsoft 365
- Device & OS
- not provided
- Scenario
- An organization sends messages to a specific external domain and includes an internal recipient; the internal recipient should not receive those messages.
- Observed behavior
- The internal recipient still receives the message when included, so the organization wants that recipient removed automatically before delivery.
Confirm that you have Exchange Administrator or Organization Management permissions in Microsoft 365, and note the exact external domain and the internal recipient's email address before creating the rule.
Create a mail flow rule in the Exchange admin center
Use this method when you want a guided, no-script way to remove an internal recipient from messages sent to a specific external domain.
Mail flow rules evaluate messages after they enter Exchange Online and can remove specific recipients before delivery. The rule only applies to messages that match the conditions you configure.
Sign in to the Microsoft 365 admin center, select Admin centers > Exchange, or go directly to admin.exchange.microsoft.com.
In the left navigation, expand Mail flow and select Rules.
Click Add a rule and choose Create a new rule. Enter a descriptive name such as "Remove internal recipient from external domain mail".
Under Apply this rule if, select The recipient > domain is, enter the external domain such as partner.com, and add a second condition The recipient > is this person to select the internal recipient.
Under Do the following, select Remove recipients, choose the internal recipient from the directory, and confirm the rule properties.
Click Next, review the settings, and click Finish. Test the rule with a small group or test mailbox before applying it broadly.

Use WPS Office as a Free, Lightweight Microsoft Office Alternative for Your Document Tasks
Exchange Online mail flow rules are configured in the Microsoft 365 admin center, not in WPS Office. For daily document creation and editing, WPS Office provides a free, lightweight alternative to Microsoft Office with a familiar ribbon interface and full compatibility with Word, Excel, PowerPoint, and PDF files.
- 1. Download WPS Office: Go to the WPS Office download page and click Download WPS Office Free.
- 2. Open your Office files: Launch WPS Office and open an existing .docx, .xlsx, or .pptx file from your computer or cloud drive.
- 3. Edit and save: Make your changes and save the file in its original Microsoft Office format for easy sharing.

Frequently Asked Questions
Does creating an Exchange Online mail flow rule require special permissions?
Yes, you need Exchange Administrator or Organization Management permissions in Microsoft 365 to create or change mail flow rules.
Can a mail flow rule remove a recipient from the To, Cc, or Bcc fields?
Yes, use the Remove recipients action in the Exchange admin center and select the internal recipient. The rule removes that recipient from any matched recipient field before delivery.
How do I test the rule without affecting the whole organization?
Add a condition such as sender is a member of a test group, or apply the rule with a test external domain and a test recipient first, then review message trace before expanding the rule.
Does WPS Office manage Exchange Online mail flow rules?
No, WPS Office is an office suite for documents, spreadsheets, and presentations. It does not administer Microsoft 365 Exchange Online, so mail flow rules must be configured in the Microsoft 365 admin center or Exchange admin center.
What if the Remove recipients action is not available in my tenant?
You can redirect the message to another mailbox or reject the message with an explanation to prevent the internal recipient from receiving it, depending on the required behavior.




