Security Policy Errors

Restrict Microsoft 365 Group Emails to a Specific External Domain

Natalie TaylorNatalie Taylor Nov 22, 2026 868 views

Question details

Allow external email to selected Microsoft 365 Groups only when it comes from an approved domain.

Restrict Microsoft 365 Group Emails to a Specific External Domain
Product
Microsoft 365 Groups and Exchange Online
Device & OS
not provided
Scenario
An administrator wants selected groups to receive messages from an approved external domain while blocking other external senders.
Observed behavior
The group setting can allow or block external senders, but it does not provide a standard option to restrict external messages to one domain.
Before you start

Identify the group email addresses and the exact external domain to allow. Make sure you have permission to manage Microsoft 365 Groups and Exchange Online mail flow rules.

Solution 1Recommended

Create an Exchange Online rule to block other external domains

Use a mail flow rule when selected groups should accept external mail from one approved domain but reject mail from other external domains.

This is an Exchange Online mail flow configuration, not a built-in domain restriction in the Microsoft 365 Group settings. Maintain the group list in the rule as your requirements change.

A sender domain match alone does not guarantee that the sender is authentic. Review your anti-spoofing and email authentication policies as well.

1
Allow external group email

In the Microsoft 365 admin center, open Teams & groups > Active teams & groups. Select the Microsoft 365 Group, open its settings, and enable the option to allow external senders to email the group.

2
Start a mail flow rule

Open the Exchange admin center and go to Mail flow > Rules. Select Add a rule > Create a new rule and give it a descriptive name.

3
Target the group and external senders

Under Apply this rule if, add a recipient condition for the group email address and a sender location condition for senders outside the organization. Add other group addresses if they need the same restriction.

4
Add the approved domain exception

Under Except if, choose the sender domain condition and enter the approved external domain. This exempts messages matching that domain from the blocking rule.

5
Reject and test

Under Do the following, select an action to reject the message with an explanation. Save and enable the rule, then test messages to the group from the approved domain, another external domain, and an internal sender.

Create an Exchange Online rule to block other external domains
Check the rule scope: Test carefully, including messages addressed to multiple recipients. Keep the rule's group addresses up to date if the restriction applies to additional groups.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for Microsoft Office formats, making it easy to move existing documents into your workflow. Exchange Online is still needed to configure Microsoft 365 Group mail flow.

Create and edit documents used in group communicationsOpen and edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for a straightforward transitionWork with a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Can I allow just one external domain in the group settings?

No. The standard Microsoft 365 Group setting allows or blocks external senders but does not restrict them to a specific domain. Use an Exchange Online mail flow rule for that restriction.

Will the rule block people inside my organization?

Not if you include the condition that the sender is outside the organization. Test an internal message after enabling the rule to confirm the intended behavior.

How do I apply the restriction to several groups?

In the Exchange admin center, add the relevant group addresses to the rule's recipient condition. Update the rule when groups are added or removed from the policy.

Does allowing a sender domain prevent spoofed messages?

No. A domain match alone is not proof of sender identity. Review your Exchange Online anti-spoofing and email authentication policies and test how they handle messages claiming to be from the approved domain.