Sensitivity Labels and DLP Best Practices with eSHARE

Prev Next

This article gives recommendations for designing Microsoft Purview sensitivity labels and Data Loss Prevention (DLP) policies in a tenant that uses eSHARE, and for mapping them to eSHARE Sharing Policies so content gets the right controls automatically when it is shared externally. It is written for compliance and eSHARE administrators. The following sections will be reviewed:

REQUIREMENT:

The person performing these steps must be a Compliance Administrator for Purview labels and DLP, and an eSHARE administrator for Labels & Tags and Sharing Policies. Sensitivity labels must be synced to eSHARE, and DLP rules imported, as described in the related articles.

Overview

Labels and DLP classify content; eSHARE Sharing Policies decide what external recipients can do with it. When the two are connected, users don't have to pick the right policy themselves: eSHARE applies, and locks, the policy that matches the content's label or DLP match.

How eSHARE Chooses a Sharing Policy

When a user creates a Trusted Share or External Link, eSHARE uses the first match in this order:

  1. Sensitivity label on the item, its SharePoint site, or the OneDrive. If the file and the container have different labels, the label with the higher Microsoft priority wins. The policy is locked.

  2. Explicit site assignment, a Sharing Policy assigned to the site in the eSHARE 'Admin Console'. The policy is locked.

  3. DLP Tag, when a DLP rule mapped to a tag has matched the item. The policy is locked.

  4. Manual selection, starting from the default Sharing Policy.

eSHARE also re-evaluates on access. If a recipient opens a file with a higher-priority label than the one the share was created with, eSHARE steps up to that label's Sharing Policy for the file.

Note:

An explicit site assignment overrides the site's sensitivity label for Trusted Shares created from that site. Use it for exceptions such as data rooms, not as the main way to apply policy.

Design Your Sensitivity Labels

  • Keep the taxonomy short. Four or five parent labels, such as Public, General, Confidential, Highly Confidential, are easier for users to apply correctly. Use sublabels sparingly for variations such as Highly Confidential \ Restricted Recipients.

  • Set label priority carefully. eSHARE uses Microsoft label priority to resolve file and container conflicts and to step up policy on access. The most sensitive label must have the highest priority.

  • Use default and mandatory labeling. A default label for documents and required labeling in Office apps means fewer files reach eSHARE unlabeled.

  • Use auto-labeling for regulated data. Apply labels automatically to content with sensitive information types, so classification doesn't depend on users.

  • Use encryption where it adds protection, and confirm eSHARE can read it. eSHARE reads label-encrypted content through Azure Rights Management permissions on its app registration. Test each encrypted label with a pilot Trusted Share before you roll it out.

Map Labels to Sharing Policies

In the eSHARE 'Admin Console' > 'Sharing Policies', assign each label (or sublabel) to a policy and choose the sharing modules (SharePoint, OneDrive, Secure Mail Gateway, and so on) where it applies. A starting point:

Label

Suggested Sharing Policy settings

Public

View and download allowed; longer default expiry

General

View and edit online; download allowed or with approval; default expiry, for example 90 days

Confidential

Login or one-time password required; view and edit online; Download with Approval or Download with Protection; user watermark; shorter expiry; owner override off

Highly Confidential

Login required; view online only; no download; watermark; Terms of Use; short expiry and maximum extension; owner override off

  • Map every label. Any label without a mapped policy falls through to manual selection.

  • Map labels per module where behavior should differ, for example a different Confidential policy for the Secure Mail Gateway. A label can be assigned to more than one policy only if those policies use different modules.

  • Turn off 'User Override' for permissions and expiry in Confidential and higher policies so share owners can't loosen them.

Container Labels for Sites and OneDrive

  • Label every site. A site label sets native controls (privacy, guest access, external sharing level, unmanaged-device access) and gives eSHARE a policy for unlabeled files shared from the site.

  • Require a label before sharing. Turn on the eSHARE setting that lets site owners apply a site label from eSHARE, so unlabeled sites must be labeled before anyone can share from them.

  • Label OneDrives. Apply a label to OneDrive sites with PowerShell so unlabeled files shared from OneDrive get a defined policy.

  • Keep container and file labels consistent. SharePoint flags files labeled higher than their site. Review those mismatches; they usually mean content is in the wrong site.

Design DLP Policies for eSHARE

  • Include SharePoint and OneDrive locations in the DLP policies you want eSHARE to act on. eSHARE reads the DLP match events Purview generates for those locations.

  • Write rules for content labels don't catch. Use DLP for sensitive information in files users haven't labeled, and for file types labels don't cover. Pair rules with auto-labeling so matched files also get a label.

  • Use eSHARE Classify values as conditions. If you deploy eSHARE Classify, write rules that match the 'Data Classification' column so user markings drive DLP. See eSHARE Classify Columns Best Practices.

  • Give rules clear, stable names. Rules are imported into eSHARE by name and selected when you build DLP Tags.

  • Start in simulation mode, review matches and false positives, then turn rules on with policy tips before blocking.

  • Add an email header action for mail. To have the Secure Collaboration Gateway enforce a policy on messages that match a DLP rule, add an action that sets a header, and set the same header and value on a Sharing Policy that has the Secure Mail Gateway module.

Map DLP Rules to Sharing Policies

  • Import rules after every DLP change. Export the rules with Get-DlpComplianceRule and import them under 'Labels & Tags' > 'DLP Tag Settings' whenever you add rules in Purview. Importing doesn't create tags or change policies.

  • Group rules into a few tags by outcome, such as PII, Financial, and Health, rather than one tag per rule. Use OR for most tags; use AND only where several rules must all match.

  • Order tags with labels. Set each tag's eSHARE order so a file that matches several tags or labels gets the most restrictive policy.

  • Assign each tag to a Sharing Policy and the modules where it applies.

Test and Monitor

  • Test each label and tag end to end. Share a test file with each label, and a file that matches each DLP Tag, to an external test account. Confirm the expected policy is selected and locked, and that step-up on access works.

  • Watch label and DLP activity. Use Purview Activity explorer for label and DLP events, and eSHARE Organization Auditing or the event stream for the Sharing Policy, label, and DLP tag recorded on each share.

  • Review quarterly. Check for labels without mapped policies, DLP rules not yet imported, and policies with owner override turned on.

Common Gaps

  • Labels exist in Purview but aren't synced or mapped in eSHARE.

  • Label priority puts a less sensitive label above a more sensitive one.

  • Sites aren't labeled, so unlabeled files fall through to manual policy selection.

  • New DLP rules were added in Purview but never imported into eSHARE.

  • Explicit site assignments override labels on sites that should follow their label.

  • Owner override is left on for Confidential and higher policies.

Note:

Microsoft changes features, defaults, and licensing periodically. Check current Microsoft documentation before you make changes. This article was last verified against Microsoft documentation in November 2026.

eSHARE

Microsoft