Safe Attachments
Microsoft Defender for Office 365 Safe Attachments scans email attachments in a sandbox environment to detect zero-day malware.
Note: Requires Microsoft Defender for Office 365 Plan 1 or Plan 2.
Policy Settings
| Setting | Options |
|---|---|
| Action | Monitor, Block, Replace, Dynamic Delivery |
| Redirect | Forward detected messages to admin |
| Safe Documents | Scan Office documents opened in Protected View |
| SharePoint/OneDrive/Teams | Enable Safe Attachments for these services |
Actions
- Monitor — Scan and track but deliver regardless
- Block — Block messages with detected malware
- Replace — Remove attachment, deliver message with notification
- Dynamic Delivery — Deliver message immediately, replace attachment after scan
API Reference
GET /api/security/safe-attachments/policies— List policiesPUT /api/security/safe-attachments/policies/:id— Update policy
Last updated on