Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To configure data loss prevention (DLP) for email and cloud files, define the sensitive data, the channels to watch, and the action to take when a match occurs. Start in audit or simulation mode, review real matches and false positives, then introduce warnings and enforcement in stages. Microsoft Purview is the native control plane for Exchange, SharePoint, and OneDrive; Google Workspace provides outbound Gmail DLP and Drive file protection. Neither suite alone fully covers files employees upload from laptops to personal accounts or unsanctioned services.

What does an email and cloud-file DLP policy do?

A DLP policy looks for sensitive information, evaluates where it is moving or stored, and applies an action such as auditing, warning, encrypting, restricting access, quarantining, or blocking. Before opening an admin console, write the intent in one sentence: When [data type] is sent or shared through [channel] with [recipient or destination], [action] should happen.

For example: “When a message containing payment-card data is sent to an external recipient, warn during the pilot and block it after review.” That statement makes it easier to distinguish a rule that protects data from one that merely generates noisy alerts.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

DLP has three useful coverage states. Data in motion includes email and uploads; data at rest includes files already stored in SharePoint, OneDrive, or Drive; and data in use includes copying, printing, or moving a file from a device. A complete email-and-cloud-files program needs to consider all three. Email rules generally evaluate new outbound messages, not historical mailboxes. SharePoint and OneDrive policies can scan existing as well as new files.

Native suite controls are a good starting point when the organization mainly uses one tenant. They do not automatically protect every off-tenant path: a file downloaded to a laptop and uploaded to a personal Drive account, consumer email, or an AI service may never pass through the original tenant’s controls.

What should you decide before creating a policy?

Choose the data, locations, audience, and response before you configure detectors. This reduces overbroad rules and makes it possible to test the behavior safely.

  1. Choose data classes. Start with a short list such as payment-card data, customer or employee personal information, credentials, and files labeled Confidential or Restricted. Use a regulation-specific template only when its detectors and scope fit your requirements; otherwise a custom policy avoids unrelated built-in detectors.
  2. Choose channels. Identify outbound email, files stored or shared in SharePoint/OneDrive/Drive, and device actions such as USB copying or browser uploads. A policy in one suite does not imply coverage in the other suite or on unmanaged devices.
  3. Define recipients and destinations. Distinguish trusted business partners from unknown external recipients, and company-managed services from personal domains or unsanctioned cloud applications.
  4. Set an initial response. Decide whether a match should be logged, shown as a warning, encrypted, quarantined, restricted, or blocked. A warning is useful for a correctable mistake; a hard block is appropriate for a non-negotiable boundary.
  5. Name an owner and exception process. Specify who reviews alerts and quarantine, who can approve an exception, and when an exception expires.

How do you configure Microsoft Purview DLP for Exchange, SharePoint, and OneDrive?

Create the policy in the Microsoft Purview portal. A policy identifies what to monitor, where to monitor it, and how it is scoped; its rules specify the conditions and actions. Microsoft 365 E3 includes native DLP for Exchange Online, SharePoint Online, and OneDrive. Teams chat DLP and Endpoint DLP require Microsoft 365 E5 or the Purview Suite add-on; confirm the exact SKU and entitlements in your agreement.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Data loss prevention in the Microsoft Purview portal. Create a policy and select a predefined template or Custom. A PCI DSS, U.S. PII, HIPAA, or other regional template can help when its content types match the goal. Choose Custom when you need a narrower, purpose-built rule.
  2. Select locations. For a basic email-and-files policy, select Exchange, SharePoint, and OneDrive. Add Teams or Devices only if licensed and configured for those locations. SharePoint can be scoped to sites (up to 100 sites) or administrative units; OneDrive can be scoped by groups or accounts. Reported practical limits for OneDrive account scoping are up to 50 groups and 100 users.
  3. Create a rule and define match conditions. Conditions may include a sensitive information type (SIT), a sensitivity label, an external recipient, file extension, or document size. Combine conditions with AND, OR, and NOT groups. Microsoft replaced the former Exceptions mechanism with a NOT nested group. Keep conditions specific: a credit-card pattern alone can match unrelated numbers, while an external-recipient condition adds useful context.
  4. Choose actions. For Exchange, SharePoint, and OneDrive, actions can restrict access or encrypt content, notify users with policy tips, and generate incident reports. You can block access for everyone or only people outside the organization. Restricting access for specific external domains or SMTP addresses in SharePoint and OneDrive is documented as public preview.
  5. Leave the policy Off while drafting. Review the locations, group scope, rule logic, user messages, and notifications with the data owner and administrators before simulation.
  6. Run simulation, then pilot policy tips. Simulation remaps Block to Audit, or to Block with override when policy tips are enabled. It does not enforce the block. Simulation can run for up to 15 days and its data is retained for 30 days, according to Microsoft guidance summarized in 2026 reporting. Use a limited pilot group and review matches before turning the policy on.
  7. Turn on enforcement deliberately. After the pilot has stable alert volume and no unresolved user-impact issues, turn on the policy and monitor it. Microsoft says policies generally take effect in about an hour; authorized group membership changes can take up to 24 hours.

Important location interaction: when one policy covers multiple locations, only conditions supported across all selected locations are available. Microsoft’s policy reference says that when locations are combined, a “no” for a content-definition category takes precedence over a “yes.” Teams does not support sensitivity labels as a condition. If files need label-based rules while Teams messages need SIT-based rules, create separate policies rather than weakening the file policy to accommodate Teams.

How should the rule detect sensitive information?

Built-in SITs use patterns such as regular expressions, keywords, and validation functions; supporting evidence, confidence, and proximity help distinguish a real match from an incidental string. Microsoft’s guidance is to use high-confidence patterns with a low instance count (about 5–10) and low-confidence patterns with a higher count (about 20 or more). Treat these as tuning guidance, not universal thresholds: a suitable count depends on the data type and business process.

For structured internal records, Exact Data Match (EDM) can compare content against hashed rows from an organization’s own dataset. The available data reports support for up to 100 million rows, daily refresh, and salted hashing before upload. A useful design can pair a high-confidence EDM match at a low count with a built-in SIT at a lower confidence for broader volume. SharePoint and OneDrive can also use retention labels as rule conditions; trainable classifiers are available across Exchange, SharePoint, OneDrive, Teams, Devices, and unmanaged cloud apps.

What do the enforcement modes mean?

  • Audit: the activity proceeds; the event is logged and can alert administrators if alerts are enabled.
  • Block with override: the user is blocked unless they provide a justification; the event is audited and can alert administrators.
  • Block: the user is blocked; the event is audited and can alert administrators.
  • Off: the rule takes no action and produces no audit or alert for that rule.

For Exchange, SharePoint, and OneDrive, rules are evaluated in priority order, all matches are logged, and the most restrictive applicable action is enforced. If one rule warns and another blocks without an override, the block wins. Endpoint DLP aggregates the most restrictive actions across matching policies, so separate rules can jointly block different activities. “Stop processing more rules” does not work in simulation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do you configure Gmail DLP in Google Workspace?

Gmail DLP uses data-protection rules for outgoing messages. The feature reached general availability in February 2025. Configure rules to audit first, then introduce user warnings and stronger actions after you understand the matches.

  1. Open the Google Admin data-protection or DLP controls for Gmail. Create a rule for a specific data class, such as credit-card numbers, credentials, or a classification label. Google Workspace’s exact controls and availability can vary by edition, so confirm the rule options in the tenant.
  2. Specify outbound scope and recipients. Begin with messages going to external recipients, then distinguish trusted domains from unknown destinations where the available conditions allow it.
  3. Select the detector and action. Gmail actions include Audit only, Warn, Quarantine message, and Block. Start with Audit only for one to two weeks. Capture which rule matched, the sender group, destination domain, and whether the event was a true positive.
  4. Test body and attachment behavior separately. Message body and headers are scanned synchronously; attachments are scanned asynchronously. A Warn rule cannot use attachment content as its trigger. Do not make a time-sensitive warning depend on an attachment detector; use quarantine or block where attachment enforcement is required.
  5. Review header coverage. “All content” scans only Subject, To, From, Bcc, and Cc among headers. Select Email headers explicitly if the rule needs full-header inspection.
  6. Advance actions gradually. After auditing, use warnings for teachable mistakes and quarantine or block for high-risk categories. Staff the quarantine queue and provide an approved alternative such as an encrypted message or managed file-sharing link.

Gmail DLP rules evaluate before content-compliance and routing rules. Use DLP to classify and respond to sensitive data; use content-compliance rules for mail-flow tasks such as rejecting, modifying, or routing messages. Gmail classification labels can also be used in DLP logic. A confidential-mode requirement can add friction, but Google warns that third-party applications may still allow users to copy or download content; confidential mode is not a substitute for a compliance control.

How do you protect files already stored in Drive?

Google Workspace includes native DLP for Drive files stored in the tenant. Use it to identify sensitive files and address risky sharing, then review Drive permissions such as external access and anyone-with-the-link sharing. Drive DLP does not protect OneDrive, and tenant-native rules do not govern an upload that leaves the laptop and goes directly to a personal account.

In the Google Admin console, go to the data-protection or DLP controls for Drive and configure a rule for the relevant file data and sharing situation. The exact Drive menu labels and click sequence can depend on the current Admin console and edition, so use Google’s current Admin guidance rather than relying on a guessed path. Test a representative file and sharing scenario before enforcement. Pair the rule with recurring permission reviews so existing oversharing is not treated as solved merely because a new policy is active.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do you stop laptop uploads to personal cloud services?

Use endpoint or cloud-app controls for the gap between a managed tenant and an employee’s device. Microsoft Endpoint DLP can monitor activities such as uploads to restricted cloud-service domains, browser access, clipboard use, USB copying, printing, network-share copying, and certain app access. It supports Windows 10/11, Windows Server 2019 and later (excluding Domain Controllers and Server Core), and the three latest major macOS versions. Endpoint DLP requires both the user and the device to be included in the policy scope; including only one is insufficient.

To configure an endpoint rule, select the Devices location in a custom policy, define a content condition such as a credit-card SIT or sensitivity label, and choose the relevant activity and response. For example, begin with Copy to USB set to Audit only, examine legitimate backup and business workflows, then consider Block with override while exempting approved backup drives. Microsoft allows up to 20 removable USB device groups, with up to 50 devices in each group. Onboard devices using a local script (up to 10 machines), Group Policy, Configuration Manager, Intune, or VDI scripts; devices already in Defender for Endpoint can appear automatically once device monitoring is enabled.

For uploads, Endpoint DLP can audit, warn, or block access to restricted cloud-service domains; access through an unallowed browser can be redirected to Edge. It also supports paste to supported browsers. FTP/SFTP transfer monitoring reached general availability on 16 October 2026. These controls do not inspect data that was never saved as a file. In Azure Virtual Desktop or Windows 365, USB drives appear as network shares, so enable Copy to network share if that is the channel you need to control.

Microsoft also documents connected non-Microsoft cloud apps, including Google Workspace, through Defender for Cloud Apps; that DLP option remains preview in the supplied late-2026 research. Treat preview integrations as a supplement to, not a replacement for, validated native controls. For a mixed Microsoft-and-Google environment, map which system owns each file and sharing path before deciding that one policy covers both.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What starter policies cover the common risks?

The following policy patterns are starting points, not universal rules. Run each in simulation or audit first, and adapt data definitions and trusted destinations to the organization’s actual obligations.

Intent Match conditions Initial action Later action
External sharing of regulated data PII, payment-card, or health-data SIT plus an external recipient Audit or simulation Warn, then block external access without override if justified
Confidential file shared outside the organization Restricted or Confidential label plus external recipient or sharing Warn or require encryption Restrict access or block external sharing
Payment-card data in outgoing email Credit-card detector plus external recipient Audit; validate legitimate payment workflows Block or quarantine, with an approved payment channel
Credentials leaving by email API keys, tokens, private keys, or other secret detectors Audit or quarantine Quarantine or block, with an incident process
Overshared cloud file Sensitive file shared with anyone, an external domain, or a personal account Alert owner and review permissions Restrict access or remove the risky share
Sensitive file copied to USB or unsanctioned cloud Endpoint content match plus USB or restricted-domain activity Audit and identify approved workflows Block with override or block, with narrow device exceptions
Source code or customer records submitted to an AI service Source-code or EDM/SIT match plus unsanctioned browser, web, or AI destination Log and warn where supported Block the unsanctioned destination; allow approved enterprise services under policy

How should you roll out DLP without disrupting work?

Use policy state, scope, and action together. A broad policy in audit mode can reveal patterns; a narrow pilot in enforcement mode can validate a specific high-risk control. Do not block on day one without a tested exception path and someone responsible for reviewing incidents.

  1. Draft with the policy Off. Agree on the one-sentence intent, data owners, trusted domains, and exception process.
  2. Run a silent test. Use Purview simulation or Gmail Audit only. Collect true positives, false positives, affected senders, recipient domains, and file-sharing patterns.
  3. Pilot warnings with a limited group. Show policy tips or warnings where appropriate. Ask users to report legitimate work that the rule interrupts and provide an allowed alternative.
  4. Quarantine selectively. Use quarantine for high-risk categories only when a queue has an owner, review service level, and runbook. Unstaffed quarantine becomes either a bottleneck or a reason to loosen the rule.
  5. Enforce the hard boundaries. After the pilot is stable, block the highest-risk cases first—for example payment-card data or credentials sent to unknown external destinations. Keep lower-risk cases at warning or audit until evidence supports stronger action.
  6. Change production policies safely. Copy an existing policy, simulate the copy, and switch only after reviewing its effect instead of making an unobserved change directly to an active rule.

A practical email rollout can take roughly 90 days: choose a few data types and recipient classes in week 0; audit in weeks 1–2; warn on appropriate body or subject matches in weeks 3–4; quarantine high-risk categories in weeks 5–8; and enforce non-negotiable boundaries after the process and queue are ready. This is a planning sequence, not a required Microsoft or Google schedule.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What limits and mistakes should you plan for?

  • Exchange is not mailbox cleanup. Exchange DLP evaluates new messages in transit; it does not scan existing or archived mailbox items. Use a separate discovery or remediation process for historical mail.
  • Teams scope is easy to get wrong. User accounts cover chats, but standard, private, and shared channel messages need group scope. A user-only policy can miss channel content.
  • Endpoint policy needs dual scope. Both user and device must be in scope. Check both before treating a missing endpoint match as a detector failure.
  • Large and nested files may be only partly inspected. Purview scans the first 2 million characters of extractable text and the first three nested archive levels. A “Document didn’t complete scanning” signal means the content was not fully inspected; do not assume a clean result.
  • Compose-time tips have smaller limits than server enforcement. Outlook tips cover the first 4 MB of message content and up to 2 MB of attachments. Server-side enforcement scans beyond those compose-time limits, so do not rely on a tip to enforce a large-attachment block.
  • Policy scale has limits. Microsoft lists a 600-rule tenant maximum, a 100 KB maximum policy size, and a 100 KB maximum individual rule size. Policy and rule names are limited to 64 characters; descriptions/comments to 1,024 characters.
  • Custom SITs can add noise. Endpoint DLP classifies against every SIT in the tenant. Keep detectors tuned and avoid creating broad custom patterns without testing near-misses.
  • Group changes are not instant. Allow about an hour for policies to take effect and up to 24 hours for authorized group changes before concluding that a rule is broken.
  • Gmail attachment warnings are not synchronous. Attachment inspection is asynchronous, so do not make a Warn rule depend on attachment content. Select Email headers explicitly if full-header inspection is required.
  • Confidential mode is not a guarantee. Treat it as an added control, not proof that recipients cannot copy, download, or otherwise retain information.
  • Copilot has a documented file gap. The late-2026 research says Copilot DLP evaluates typed prompt text but does not scan files a user uploads directly into a prompt. Copilot controls also have specific license requirements and preview status; verify current availability before relying on them.

How do you monitor and tune policies after launch?

Review matches frequently during simulation and the pilot, then reduce the cadence only after the policies stabilize. In Microsoft environments, Activity explorer covers the last 30 days of activity, including DLP rule matches and override-related undo events. The DLP alerts dashboard retains alerts for 30 days, while the Microsoft Defender portal keeps them for six months. Microsoft also provides PowerShell reports including Get-DlpDetailReport, Get-DlpDetectionsReport, and Get-DlpSiDetectionsReport.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

At a weekly review during rollout and a monthly review after enforcement, examine the top rules by hits, false-positive rate, override frequency and justification quality, time to review quarantined items, and the sender groups and recipient domains involved. Each review should produce a specific decision: adjust confidence or instance count, narrow a group, approve a documented backup device, or leave the rule unchanged because evidence supports it. Record exceptions with an owner, justification, users and destinations, data classes and channels covered, expiry date, and compensating controls. Prefer a narrow partner-domain exception for one data class over exempting an entire department.

When are native controls enough?

Native Purview is often the practical choice for a Microsoft-centric tenant whose main needs are Exchange, SharePoint, and OneDrive; adding Teams chat and endpoint controls depends on licensing. Google Workspace’s native controls address outbound Gmail and Drive files stored in that tenant. Organizations using both suites should plan separate coverage and ownership for each.

Consider an additional endpoint, CASB, or broader DLP layer when the requirement includes preventing laptop uploads to personal SaaS or AI services, covering several cloud suites with one policy, inspecting files before upload, or applying consistent controls across on-premises and cloud channels. API-based cloud scanning can address files after they land in a connected service; endpoint or inline controls can intervene before upload. Those enforcement points are different, so a product that scans stored cloud files does not necessarily block a laptop upload in transit.

The 2026 research lists products with varied channel coverage and licensing models, but published list prices are unavailable for several enterprise offerings and no independent head-to-head detection-accuracy bake-off was identified. Choose based on required channels, detector depth, enforcement point, operational staffing, and confirmed licensing—not an unsupported claim that one vendor has the best detection rate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Does DLP encrypt an email automatically?

Not necessarily. A DLP match can trigger a block, warning, quarantine, or encryption action only if the rule is configured to do so and the relevant product supports it. Test that recipients can access the intended encrypted message before making it the required delivery path.

Can DLP detect a screenshot or information copied by hand?

Text and file inspection cannot reliably prevent someone from retyping information or photographing a screen. Endpoint controls can cover some actions such as printing, clipboard use, or screen capture where supported, but policy, access controls, and staff practices remain part of the protection.

Will DLP tell me whether a data exposure is legally reportable?

DLP can provide evidence about the data type, channel, and event, but it does not make the legal determination. Preserve incident details and route them to your privacy, security, and legal response process.

Should I use a sensitivity label or a sensitive information type?

Use a sensitivity label when the organization has classified a document or message and wants policy to follow that classification. Use a sensitive information type when the rule needs to identify content such as card numbers or personal identifiers; many policies combine both.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 11:14 am GMT.