Send & Receive Issues

Create a Server-Side Rule for a Shared Microsoft 365 Mailbox

Chanuka GeekiyanageChanuka Geekiyanage Nov 14, 2026 868 views

Question details

Create a rule that moves messages from multiple senders at the same domain into a shared mailbox subfolder.

Create a Server-Side Rule for a Shared Microsoft 365 Mailbox
Product
Microsoft 365 shared mailbox and Outlook on the web
Device & OS
not provided
Scenario
A team wants to organize incoming shared mailbox messages by sender domain.
Observed behavior
Messages whose sender addresses contain the specified domain are automatically moved from the shared mailbox inbox to the chosen subfolder.
Before you start

Make sure you have Full Access permission to the shared mailbox and that the destination subfolder exists in that mailbox. Have the sender domain ready, such as @xxx.dk.

Solution 1Recommended

Create a domain-based inbox rule in Outlook on the web

Use a rule in the shared mailbox to move messages from multiple senders whose addresses contain the same domain.

1
Open the shared mailbox

Sign in to Outlook on the web, select your profile picture, and choose Open another mailbox. Enter the shared mailbox address and select Open.

2
Open the mailbox rules

In the shared mailbox window, select Settings, then go to Mail > Rules. Select Add new rule.

3
Set the sender condition

Name the rule, choose the condition Sender address includes, and enter the domain text, such as @xxx.dk. The label may vary slightly by Outlook version.

4
Choose the destination

Under Add an action, select Move to and choose the designated subfolder in the shared mailbox. Select Save.

5
Test the rule

Send a new test message from an address at the specified domain to the shared mailbox, then check the destination subfolder. Review the rule under Settings > Mail > Rules if the message is not moved.

Create a domain-based inbox rule in Outlook on the web
Check the match and rule order: The sender-address condition matches text, so an address containing @xxx.dk as part of a longer domain could also match. Review other shared mailbox rules and their order if they affect the same messages.
Free Microsoft Office alternative

Work with Office files in WPS Office

A shared Microsoft 365 mailbox rule must be managed in Outlook; WPS Office does not configure it. For document work, WPS Office is a free, lightweight alternative with a familiar interface and Office format compatibility for easier migration.

Prepare and edit documents for your team while Outlook manages shared mailbox rulesOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsGet started with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Will the rule work when Outlook is closed?

A server-side inbox rule is processed by Microsoft 365 without Outlook remaining open. Create it in the shared mailbox using Settings > Mail > Rules and test it with a new message.

Where should I create the rule for a shared mailbox?

Open the shared mailbox in Outlook on the web using your profile picture > Open another mailbox, then create the rule under Settings > Mail > Rules. A rule created in your personal mailbox does not manage the shared mailbox inbox.

Can one rule cover several senders at the same domain?

Yes. In the shared mailbox rule, choose Sender address includes and enter text such as @xxx.dk. This is a text match, so check for possible matches in longer domains as well.

Why can't I open the shared mailbox?

Confirm that you are signed in to the correct Microsoft 365 account and ask your administrator to check that you have Full Access permission to the shared mailbox.