Skip to content
Copy as Markdown

Safe Links Policy (Octiga)

ScopeTenantRoleL1 Read to view · L1 Read/Write to actLicenceDefender for Office 365

Microsoft Defender for Office 365 Safe Links scans URLs in email messages and Office documents in real time. This policy creates a dedicated Safe Links policy named “Octiga Safe Links Policy” and controls which users, groups, and domains are protected, along with how malicious links are handled.

Settings this baseline controls

SettingWhat it does
Policy nameThe name of the Safe Links policy. This policy is named “Octiga Safe Links Policy” and is applied to the specified users, groups, and domains. Learn more
Email link scanning enabledEnables Safe Links scanning for email messages. When enabled, URLs in emails are checked against a list of known malicious links. Learn more
Internal sender scanning enabledApplies Safe Links scanning to email messages sent within the organisation. Learn more
Real-time URL scanning enabledEnables real-time URL scanning for suspicious links and links that point to files before the message is delivered. Learn more
Wait for scan before deliveryWhen enabled, the message is held until URL scanning is complete before being delivered to the recipient. Learn more
URLs excluded from rewritingA list of URLs that Safe Links should not rewrite in email. Safe Links checks are still performed via the Safe Links API only. Learn more
URL rewriting disabledDo not rewrite URLs. Do checks via Safe Links API only. Learn more
Teams link scanning enabledEnables Safe Links scanning for URLs in Microsoft Teams messages. URLs are not rewritten but are checked when clicked. Learn more
6 more settings
SettingWhat it does
Office apps scanning enabledEnables Safe Links scanning for URLs in Microsoft Office apps. URLs are not rewritten but are checked when clicked. Learn more
Track user clicksRecords user clicks on URLs that are checked by Safe Links for reporting and investigation. Learn more
Allow click-throughWhen enabled, users can click through to the original URL even if Safe Links has flagged it as potentially malicious. Learn more
Show organisation brandingDisplays the organisation’s branding on Safe Links notification and warning pages shown to users. Learn more
Automatic translation enabledWhen enabled, Microsoft Translator is used to automatically localise the custom notification text. Learn more
Custom notification textThe custom notification text shown to users when Safe Links blocks a URL. Learn more
Adding a baselineAdd, configure or remove a single baseline on a tenant, a user or a group, without deploying a whole scheme.

Configure it

This baseline turns on Safe Links, which scans URLs in email and Office in real time.

  1. Add the baseline.

    Add it to the tenant directly (see Adding a baseline), or deploy it as part of a scheme (see Deploying a scheme). Adding it to a scheme needs L2 Support or Admin (Creating a scheme).

  2. Turn on scanning everywhere it can run.

    Set Email link scanning enabled, Internal sender scanning enabled, Teams link scanning enabled, Office apps scanning enabled and Real-time URL scanning enabled all on, so a link is checked wherever someone might click it, not only in mail from outside.

  3. Wait for the scan before delivering.

    Set Wait for scan before delivery on, so a message with links is held briefly until scanning finishes rather than delivered and checked only on click. This can add a short delay to messages with links.

  4. Leave rewriting and tracking on, and decide on click-through.

    Leave URL rewriting disabled off and Track user clicks on, so links keep going through Safe Links’ redirect. Allow click-through is on in the defaults: a user who sees the warning page on a flagged link can still continue to the original link. Microsoft recommends switching it off, which removes that option, and the baseline then expects it off. Leave Show organisation branding on, so the warning page carries your organisation’s branding and users can tell it from a fake. Leave URLs excluded from rewriting and Custom notification text empty, and Automatic translation enabled off, unless you need them; the baseline expects those defaults.

  5. Choose who it covers and where it ranks.

    Octiga creates and manages its own Octiga Safe Links Policy. Under Recipients, Include users, Include groups and Include domains choose who it covers; under Exceptions, the matching Exclude lists leave people out. Microsoft 365 won’t accept a policy that covers nobody, so when you open the editor on a tenant with no recipients chosen, it fills Include domains with all the tenant’s verified domains for you to save. A scheme has no tenant domains to offer, so type the recipients, groups or domains there. Priority orders the policy among your own Safe Links policies (0 runs first); leave it empty to keep its current place. Like Safe Attachments, it applies behind any Strict or Standard preset that covers the same recipients (see Preset EOP Policy (Standard) and Preset EOP Policy (Strict)).

  6. Save, then switch on Auto if you want automatic remediation.

    Select Save if you changed any values. Switch on the Auto column on the baseline’s row, on the tenant’s Org-level tab or in a scheme, to have Octiga reapply this whenever it’s changed. Auto acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings); with either off, fix a deviation yourself (Remediation).

Check it worked

Passing means the Octiga Safe Links Policy exists, is on, and matches these settings. Check it in the Microsoft Defender portal, under Email & collaboration → Policies & rules → Threat policies → Safe Links. Users see a warning page on a flagged link, and a short delivery delay on messages containing links while they’re scanned.

Standards this addresses

CISM365 2.1.1v8 9.7
NISTPR.PT-3SC-7SI-4
ISO 27001A.8.7A.8.24
GDPRArticle 32

Doing this for every tenant?

Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.