You could consider using below methods bypass safe links for specific emails or links:
- By creating Mail flow rules set this X-MS-Exchange-Organization-SkipSafeLinksProcessing message header value to "1" for specific messages according to your requirement.
For example, and you could modify the condition to others like the sender is XXX...:
2.Or use the second method: URL rewriting rules: Do not rewrite the following URLs" lists in Safe Links policies
Note that: Do not implement BOTH rules below as they will interfere with each other.
A related link with step-by-step guide for your reference as well: Bypassing Microsoft 365 (formerly Office 365) Advanced Threat Protection (ATP) / Defender for Office
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.