Exchange Connection Problems

How to Create an Exchange Online Mail Flow Rule to Remove a Recipient

Anum MushtaqAnum Mushtaq Nov 13, 2026 869 views

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.

How to Create an Exchange Online Mail Flow Rule to Remove a Recipient
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Exchange admin center

Sign in to the Microsoft 365 admin center, select Admin centers > Exchange, or go directly to admin.exchange.microsoft.com.

2
Go to Mail flow rules

In the left navigation, expand Mail flow and select Rules.

3
Create a new rule

Click Add a rule and choose Create a new rule. Enter a descriptive name such as "Remove internal recipient from external domain mail".

4
Set recipient conditions

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.

5
Remove the internal recipient

Under Do the following, select Remove recipients, choose the internal recipient from the directory, and confirm the rule properties.

6
Save and test

Click Next, review the settings, and click Finish. Test the rule with a small group or test mailbox before applying it broadly.

Create a mail flow rule in the Exchange admin center
Rule created: The rule now removes the specified internal recipient from qualifying messages before delivery.
Free Microsoft Office alternative

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. 1. Download WPS Office: Go to the WPS Office download page and click Download WPS Office Free.
  2. 2. Open your Office files: Launch WPS Office and open an existing .docx, .xlsx, or .pptx file from your computer or cloud drive.
  3. 3. Edit and save: Make your changes and save the file in its original Microsoft Office format for easy sharing.
Lets you keep creating and editing documents while your Microsoft 365 administrator manages Exchange Online mail flowOpens and saves Microsoft Office formats such as .docx, .xlsx, and .pptxFree download with a familiar ribbon-style interface for easier migrationLightweight and available on Windows, macOS, Android, iOS, and the webIncludes built-in PDF tools and a template store for everyday tasks
QA img-9

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.