Transport rule

Glenn Maxwell 12,876 Reputation points
2024-08-12T16:50:37.11+00:00

Hi All,I have an external domain, let's say contoso.com. All emails from this domain and its subdomains should reach all my users' Focused Inbox, not the Other Inbox. This requirement applies only to this domain and its subdomains, not to any other domains. I came across this article, and I'm wondering if the following transport rule will work for me

https://learn.microsoft.com/en-us/microsoft-365/admin/setup/configure-focused-inbox?view=o365-worldwide#use-the-ui-to-create-a-transport-rule-to-direct-email-messages-to-the-focused-view-for-all-your-users

New-TransportRule -Name "Bypass Focused Inbox for contoso.com domain" -FromAddressMatchesPatterns "@contoso\.com$|@.*\.contoso\.com$" -SetHeaderName "X-MS-Exchange-Organization-BypassFocusedInbox" -SetHeaderValue "true"
Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,194 questions
Exchange | Exchange Server | Other
Exchange | Exchange Server | Management
Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-08-13T01:55:03.2733333+00:00

    Hi @Glenn Maxwell,

    Welcome to the Microsoft Q&A platform!

    Yes, the transport rule you mentioned should work to ensure that emails from the contoso.com domain and its subdomains reach your users' Focused Inbox.

    Here is a breakdown of the rule:

    1. Name: The rule is named "Bypass Focused Inbox for contoso.com domain".
    2. FromAddressMatchesPatterns: This specifies the email addresses the rule applies to, which include @contoso.com and any subdomain of contoso.com (indicated by @.*\.contoso\.com$).
    3. SetHeaderName: This sets a specific header (X-MS-Exchange-Organization-BypassFocusedInbox).
    4. SetHeaderValue: This sets the value of the header to true, which directs the emails to the Focused Inbox.

    So, the command you provided:

    New-TransportRule -Name "Bypass Focused Inbox for contoso.com domain" -FromAddressMatchesPatterns "@contoso\.com$|@.*\.contoso\.com$" -SetHeaderName "X-MS-Exchange-Organization-BypassFocusedInbox" -SetHeaderValue "true" 
    

    is set up correctly to achieve your goal.

    Please feel free to contact me if you have any queries.

    Best,

    Jake Zhang


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.