Microsoft Purview Data Loss Prevention (DLP) has closed a long-standing gap in SharePoint and OneDrive protection: the ability to block access to sensitive content for specific external domains or individual guest accounts, rather than only offering an all-or-nothing external block. this option lets administrators target particular partner domains or guest SMTP addresses while leaving other external collaboration paths open. Here's what changed, why it matters, and how to configure it correctly.
What's new
Microsoft Purview DLP is adding the ability to block access to sensitive SharePoint Online and OneDrive for Business files based on an external user's domain or specific email address (SMTP), giving admins more granular, enterprise-ready control over external access and reducing the risk of unintended data exposure when collaborating outside the organization.
Why this matters
Before this update, SharePoint/OneDrive DLP access-restriction actions were essentially binary: block everyone, block everyone outside the org, or block only people who accessed content via an "Anyone with the link." That's a blunt instrument for real-world collaboration, where an organization might legitimately share sensitive data with a handful of named vendors or partners but wants to shut the door on everyone else.
The new action solves that by letting you build block lists and allow lists at the domain or individual-user level, so you can, for example:
limit sensitive content to a small set of approved supplier domains
allow only named external users involved in regulated projects
How it works
The action lives inside the familiar Restrict access or encrypt the content in Microsoft 365 locations block, under a new radio button option: Block access to external domains and users (shown as "Block access for specific external domains or users" in Microsoft's docs). Selecting it exposes a Properties panel where you define:
Domain — condition set to "is" or "is not," followed by one or more domains
User SMTP address — for blocking or allowing specific individual guest accounts
Selecting Add properties opens the flyout shown in your second screenshot, where you check Domain, choose IS or IS NOT, and enter the domain(s). This is exactly where the "exclude domains" capability lives — configuring the condition as Domain IS NOT effectively creates an allow-list behavior (block everyone except the domains you list), while Domain IS creates a targeted block list (block only the named domains).



Join the conversation! Your thoughts help the community grow.