Safe Links and Safe Attachments: Full Configuration Guide
Safe Links and Safe Attachments are the URL and attachment detonation features in Microsoft Defender for Office 365. Safe Links rewrites URLs and checks them at click time. Safe Attachments sandboxes suspicious files before delivery.
Safe Links configuration
Safe Links rewrites every URL to https://safelinks.protection.outlook.com/?url=... and checks it at click time against real-time threat intelligence.
Safe Attachments and Dynamic Delivery
Standard Safe Attachments holds email while attachment is sandboxed (2-5 minute delay). Dynamic Delivery sends the email body immediately and replaces the attachment with a placeholder while scanning - recommended for most organisations.
Protect SharePoint and Teams
Threat reports
Shows all email processed by EOP and Defender, broken down by detection technology. Use to see how many phishing and malware emails are caught daily.
Frequently Asked Questions
Yes if you have Defender for Office 365 P1 or P2. Enable Safe Links protection for Teams in the Safe Links policy settings.
Yes. Add to the "Do not rewrite" list in your Safe Links policy. Use sparingly - every whitelisted URL is unprotected.
Zero-hour auto purge (ZAP) can retroactively move emails with newly-detected malicious URLs from inbox to quarantine.