With Office 365 Advanced Threat Protection, your organization can have a custom list of website addresses (URLs) that are blocked. When a URL is blocked, users who click on hyperlinks to the blocked URL are taken to a warning page that lets them know that website is blocked. The blocked URLs list is defined by Office 365 global or security administrators, and it applies to everyone in the organization who has been assigned an Advanced Threat Protection license. Read this article to learn how to set up your organization's custom blocked URLs list for ATP safe links in Office 365.
Note: The ATP safe links features are only available in Advanced Threat Protection, available with Office 365 Enterprise E5. If your organization is using another Office 365 Enterprise subscription, Advanced Threat Protection can be purchased as an add-on. (As a global admin, in the Office 365 admin center, choose Billing > Add subscriptions.) For more information about plan options, see Compare All Office 365 for Business Plans. Make sure your organization is using the latest version of Office 365 ProPlus on Windows to take advantage of the extended ATP safe links features.
URL lists for ATP safe links policies can support up to three wildcard asterisks (*).
Wildcards (*) are assumed for entries such as contoso.com. This means an entry, such as contoso.com is similar to *contoso.com* for your list of blocked URLs. (More details are included below.)
View or edit a custom list of blocked URLs
ATP safe links in Office 365 uses several lists, including your organization's custom blocked URLs list. If you are a global administrator or a security administrator, you can set up your custom list when you view or edit the default safe links policy that is in place for your organization.
Go to https://protection.office.com and sign in with your work or school account.
In the left navigation, under Threat management, choose Safe links.
In the Policies that apply to the entire organization section, select Default, and then choose Edit (the Edit button resembles a pencil).
This is where you go to view your list of blocked URLs. Note that at first, you won't have any URLs listed.
Select the Enter a valid URL box, and then type a URL, and then choose the plus sign (+). Here are a few things to keep in mind:
You can specify a domain-only URL (like contoso.com or tailspintoys.com). This will block clicks on any URL that contains the domain.
Do not include a forward slash (/) at the end of the URL. For example, instead of entering http://www.contoso.com/, enter http://www.contoso.com.
You can include up to three wildcard asterisks (*) per URL. The following table lists some examples of what you can enter and what effect those entries have.
What It Does
contoso.com or *contoso.com*
Blocks the domain, subdomains, and paths, such as https://www.contoso.com, http://sub.contoso.com, and http://contoso.com/abc
Blocks a site http://contoso.com/a but not additional subpaths like http://contoso.com/a/b
Blocks a site http://contoso.com/a and additional subpaths like http://contoso.com/a/b
When you are finished adding URLs, in the lower right corner of the screen, choose Save.
What if I want to define exceptions for certain users in my organization?
If you want certain groups to be able to view websites that might be blocked, you can specify an ATP safe links policy that applies to specific recipients. See Set up a custom "do not rewrite" URLs list using ATP safe links.