Create a transport rule to bypass a Safe Links policy

Completed

You can create a transport rule to bypass Safe Links just like you can bypass Safe Attachments. To understand how you create a transport rule that bypasses scanning, review the following steps:

  1. In the Microsoft 365 admin center, in the left-hand navigation pane, select Show all.

  2. In the left-hand navigation pane, under the Admin centers group, select Exchange.

  3. In the Exchange admin center (EAC), in the left-hand navigation pane, select Mail flow and then select Rules.

  4. On the Rules page, select +Add a rule on the menu bar. In the drop-down menu that appears, select Create a new rule. Doing so initiates the New transport rule wizard.

  5. In the Set rule conditions page, enter a name for your new rule.

  6. In the Apply this rule if section,select the first field. In the drop-down menu, select an option, such as The sender. Select the second field, and in its drop-down menu select is external/internal. In the Select sender location pane, select Inside the organization, and then select Save.

    Note

    You can choose from several options in each drop-down menu. For example, you can select other criteria, including senders, recipients, distribution group members, and attachment types.

  7. In the Do the following section, select the first field. In the drop-down menu, select an option, such as Modify the message properties. Select the second field, and in its drop-down menu select set a message header.

  8. Note the text that appears below the two fields: Set the message header Enter text to the value Enter text.

  9. Select the first instance of Enter text. In the message header pane that appears, enter X-MS-Exchange-Organization-SkipSafeLinksProcessing as the header name, and then select OK.

  10. Select the remaining Enter text, and then type something, such as a space, and then choose OK.

    Note

    The system doesn't use this value, even though it requires a value for the rule to work.

  11. To save your settings, select Save.