Home › Knowledgebase › KB-1785

PayPal Donation Webhook Blocked By Microsoft 365 Safe Links

Summary

This guide helps you troubleshoot and resolve: PayPal Donation Webhook Blocked By Microsoft 365 Safe Links. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Microsoft Defender Safe Links is designed to protect your organisation from malicious URLs by scanning and rewriting links in incoming emails. However, for not-for-profit organisations using third-party payment gateways for fundraising, this security feature can sometimes interfere with legitimate donation confirmations. Safe Links may follow tracker URLs embedded in receipt emails, triggering false-positive phishing alerts and blocking supporters from receiving their donation confirmations.

This guide explains how to create a transport rule exception in Microsoft 365 Exchange Online to bypass Safe Links scanning for your specific donation processing domain, ensuring genuine fundraising communications reach your donors while maintaining phishing protection for the rest of your mail flow.

Quick Fix Steps

  1. Log in to the Microsoft 365 admin centre with global administrator or Exchange administrator credentials.
  2. Navigate to Exchange admin centre > Mail flow > Rules.
  3. Create a new rule to bypass Safe Links for your donation domain.
  4. Save the rule and test with a donation transaction.

Detailed Instructions

Step 1: Access the Exchange Admin Centre

  1. Open your web browser and go to https://admin.microsoft.com.
  2. Sign in using an account with Global Administrator or Exchange Administrator permissions.
  3. In the left navigation menu, select Admin centres, then choose Exchange.
  4. The Exchange admin centre will open in a new browser tab.

Step 2: Navigate to Mail Flow Rules

  1. In the Exchange admin centre left-hand menu, click Mail flow.
  2. Select the Rules tab.
  3. Click the Add a rule dropdown button and choose Create a new rule.

Step 3: Configure the Transport Rule

  1. In the Name field, enter a descriptive name such as Bypass Safe Links for Donation Domain.
  2. Under Apply this rule if, select The sender > domain is.
  3. Enter the domain used by your payment gateway or donation platform (for example, paypal.com or your specific fundraising platform domain).
  4. Click the Add icon (plus sign) to confirm the entry, then click OK.
  5. Under Do the following, select Modify the message properties > Set a message header.
  6. In the header name field, enter X-MS-Exchange-Organization-SkipSafeLinksProcessing.
  7. In the header value field, enter 1.
  8. Click Save.

Step 4: Set Rule Priority and Mode

  1. Back in the rules list, locate your newly created rule.
  2. Use the up and down arrows to move the rule above any other rules that might block or rewrite links.
  3. Ensure the rule mode is set to Enforce.
  4. Click Save to apply the changes.

Step 5: Test the Configuration

  1. Process a test donation through your payment gateway.
  2. Ask the donor to confirm they received the donation receipt email.
  3. Check that links in the email are no longer rewritten with the safelinks.protection.outlook.com prefix.
  4. Monitor your mail flow for any unexpected behaviour over the next 24 to 48 hours.

Troubleshooting

Rule Not Taking Effect

Donors Still Not Receiving Receipts

Safe Links Still Rewriting URLs

Only add domains you fully trust to this exception. Adding broad or unverified domains reduces your organisation's protection against phishing attacks.
Do not disable Safe Links organisation-wide. This transport rule exception applies only to the specified donation domain, keeping phishing protection active for all other email traffic.

Need Further Assistance?

If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.

If you are unable to resolve the issue after following these steps, contact your IT support provider for assistance with your mail flow configuration and transport rules.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket