Safe Links
Safe Links in Defender for Office 365 protects users from malicious URLs in email and supported Office applications by checking links at click time.
capabilitiesCurrent
Relationships
Configuration Methods
| Method | Support | Reference or Gap |
|---|---|---|
| Portal | Supported | Reference |
| PowerShell | Supported | Reference |
| REST API | Gap | Use Exchange Online PowerShell or Microsoft365DSC for policy automation. |
| Graph | Gap | Safe Links policy authoring is not exposed as a Microsoft Graph Security resource. |
| ARM | Gap | Exchange Online Protection policy is not an ARM resource. |
| Bicep | Gap | Exchange Online Protection policy is not a Bicep resource. |
| Terraform | Gap | No azurerm/azapi resource exists for Exchange Online Protection policies. Manage via Exchange Online PowerShell wrapped in a pipeline task, or via Microsoft365DSC (M365DSCConfig resource EXOSafeLinksPolicy) for a declarative/idempotent alternative. Alternative |
| GitHub Actions | Supported | Reference |
| Azure DevOps | Supported | Reference |