Onboarding Devices for Endpoint DLP

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 12 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Onboarding Devices for Endpoint DLP

In the modern workplace, data no longer lives exclusively behind the safety of a corporate firewall or within the controlled environment of a local file server. With the rise of remote work and cloud-integrated workflows, sensitive information is constantly being accessed, edited, and shared on physical devices like laptops and desktops. This shift has made the endpoint one of the most critical frontiers for data protection. Endpoint Data Loss Prevention (DLP) is the technology that extends your organization's security policies directly to these devices, ensuring that even when a user is working from a coffee shop or their home office, sensitive data remains protected from accidental leaks or intentional exfiltration.

Onboarding devices for Endpoint DLP is the foundational step in this journey. It is the process of connecting your physical hardware—whether running Windows or macOS—to your central compliance management system. Without proper onboarding, your DLP policies are essentially "cloud-only," meaning they can stop a user from sharing a sensitive file via SharePoint, but they are powerless if that same user copies the file to a personal USB drive or uploads it to a private webmail account through a browser. This lesson will provide a deep dive into the technical requirements, various onboarding methods, and the practical steps necessary to bring your fleet of devices under the protective umbrella of Endpoint DLP.

Not read yet

Understanding the Architecture of Endpoint DLP

Before we look at the "how" of onboarding, we need to understand the "what." Modern Endpoint DLP, particularly within the Microsoft Purview ecosystem, does not rely on the heavy, resource-draining third-party agents of the past. Instead, it utilizes a built-in sensor that is part of the operating system itself. For Windows 10 and 11, this sensor is the same one used by Microsoft Defender for Endpoint (MDE). This is a significant advantage because it means that once a device is onboarded, there is no additional software to install, no extra reboots required, and minimal impact on the system's performance.

When you onboard a device, you are essentially "waking up" this built-in sensor and telling it where to report its findings. The sensor monitors activities such as file system operations, browser activity, and interactions with peripheral devices. When a user performs an action that violates a DLP policy—such as trying to print a document containing credit card numbers—the sensor intercepts the action, applies the policy (block, warn, or audit), and sends a signal back to the administrative portal.

Callout: Built-in Sensors vs. Traditional Agents

Traditional DLP solutions often require installing a "thick client" or agent on every machine. These agents frequently conflict with other software, require constant updates, and can significantly slow down a user's computer. In contrast, modern Endpoint DLP uses a sensor integrated into the OS kernel. This results in better stability, higher performance, and a much simpler deployment process because the "plumbing" for the security features is already there—it just needs to be activated.

Not read yet

Prerequisites for a Successful Onboarding

You cannot simply flip a switch and expect every device to appear in your DLP dashboard. There are several technical and administrative boxes you must check first. Skipping these steps is the most common reason for onboarding failures.

Operating System Requirements

Endpoint DLP is supported on a variety of platforms, but each has specific version requirements:

  • Windows: Windows 10 (Pro, Enterprise, or Education) or Windows 11. It is highly recommended to be on the latest feature update to ensure all DLP capabilities (like advanced browser protection) are available.
  • Windows Server: Supported on 2019 and 2022, though the use cases for DLP on servers are typically more specialized than on workstations.
  • macOS: The three most recent major versions are supported. Unlike Windows, macOS requires the installation of the Microsoft Defender for Endpoint client to act as the carrier for DLP features.

Licensing and Permissions

Data protection is an advanced feature set. Generally, you will need a license that includes Purview features, such as Microsoft 365 E5, or an E3 license with the E5 Compliance add-on. From a permissions standpoint, the person performing the onboarding needs to be a Global Administrator, Compliance Administrator, or have the Security Administrator role.

Network Connectivity

The devices need to be able to talk to the cloud. If your organization uses a restrictive proxy or firewall, you must whitelist specific URLs. The sensors communicate with the telemetry service via encrypted HTTPS. If the device cannot reach these endpoints, it will never show as "Healthy" in your console, and policies will not sync.

Not read yet

Choosing Your Onboarding Method

There is no one-size-fits-all approach to onboarding. The method you choose depends on the size of your organization, your current management tools, and the types of devices you are targeting.

1. Local Script (For Testing and Small Batches)

The local script is a simple .cmd file (for Windows) or a package (for Mac) that you run manually on a machine. This is ideal for IT admins who want to test the DLP functionality on their own machine or a small pilot group before a wide-scale rollout. It provides immediate feedback and is the easiest way to troubleshoot initial configuration issues.

2. Microsoft Intune (The Modern Standard)

If your organization uses Microsoft Intune (Mobile Device Management), this is the preferred method. Intune allows you to deploy the onboarding configuration as a policy. Once configured, any device that joins your organization and falls into the scope of that policy will automatically be onboarded for DLP without any manual intervention from IT or the user.

3. Group Policy (For On-Premises Environments)

For organizations that still rely heavily on Active Directory and have not yet moved to full cloud management, Group Policy Objects (GPO) are the way to go. You can download a script from the Purview portal and set it to run as a startup script via GPO. This ensures that every time a domain-joined computer starts up, it checks its onboarding status.

4. Microsoft Configuration Manager (MECM/SCCM)

Larger enterprises with complex on-premises footprints often use MECM. Onboarding via MECM is similar to GPO but offers better reporting and targeting capabilities. You can create a "Configuration Item" and "Configuration Baseline" to ensure that devices remain compliant and stay onboarded over time.

Note: If you are already using Microsoft Defender for Endpoint (MDE) to protect your devices from malware and cyberattacks, you are halfway there! Because Endpoint DLP and MDE share the same sensor, a device that is already onboarded to MDE will automatically show up in the Endpoint DLP device list. You simply need to enable "Device Monitoring" in the Purview settings to start applying DLP policies.


Not read yet

Step-by-Step: Onboarding via the Microsoft Purview Portal

Let's walk through the process of preparing the onboarding package. Regardless of which deployment method you choose (GPO, Intune, etc.), the starting point is always the Microsoft Purview compliance portal.

Step 1: Accessing the Onboarding Section

Navigate to the Microsoft Purview compliance portal and look for Settings in the left-hand navigation pane. Within Settings, select Device onboarding. If you don't see this option, double-check your administrative permissions and licensing.

Step 2: Selecting the Operating System

In the onboarding tab, you will see a dropdown menu labeled Select operating system to start onboarding process. Choose "Windows 10 and 11" or "macOS" depending on your target.

Step 3: Choosing the Deployment Method

Below the OS selection, you will see a second dropdown for the Deployment method. This is where you choose between the Local Script, Group Policy, or Intune options mentioned earlier.

Step 4: Downloading the Package

Once you select your method, click the Download package button. This will download a .zip file containing the necessary configuration files.

  • For the Local Script, the zip contains a .cmd file.
  • For Group Policy, it contains a script and a folder structure.
  • For Intune, it contains a specialized .onboarding file that you will upload to the Intune portal.

Step 5: Running the Script (Local Example)

If you are testing with a local script, extract the zip file, right-click the .cmd file, and select Run as Administrator. A command prompt window will open. You will need to type "Y" to confirm you want to proceed. The script will then perform several checks and register the device with the cloud service.

# Example of checking if the onboarding was successful via PowerShell
# Run this on the local machine after the script finishes

Get-Service -Name "Sense" | Select-Object -Property Name, Status, StartType

# If the Status is 'Running', the sensor is active.
# If the StartType is 'Automatic', the sensor will persist after reboots.

The Sense service is the internal name for the Defender/DLP sensor. If this service is running, the device is technically capable of receiving and enforcing policies.


Not read yet

Configuring Global Endpoint DLP Settings

Onboarding the device is only the first half of the equation. Even if a device is onboarded, Endpoint DLP won't actually do anything until you configure the global settings and create a policy. Think of onboarding as installing the security camera, and global settings as deciding what the camera should look for.

Enabling Device Monitoring

You must explicitly turn on device monitoring in the Purview portal. Navigate to Data loss prevention > Endpoint DLP settings. Here, you will find a toggle to enable monitoring. Without this, the onboarded devices will remain idle.

File Path Exclusions

Not every folder on a computer needs to be monitored. In fact, monitoring system folders or application folders can lead to performance issues and "noise" in your logs. You should exclude paths like C:\Windows or C:\Program Files.

Unallowed Browsers and Apps

By default, Endpoint DLP works best with Microsoft Edge because the protection is native. However, you can also support Google Chrome and Mozilla Firefox by installing the "Microsoft Purview Extension." If you want to prevent users from using unmonitored browsers entirely, you can add them to the "Unallowed browsers" list in the settings. This prevents the browser from accessing sensitive files altogether.

Callout: The Power of Browser Extensions

Many users prefer Chrome over Edge. If you don't install the Purview extension for Chrome, the Endpoint DLP sensor can see that a file is being uploaded to a website, but it might struggle to see which website it is or apply granular "Warn" messages. By deploying the extension via Intune or GPO alongside your onboarding, you ensure that the user experience is consistent across all supported browsers.


Not read yet

Practical Example: Protecting Sensitive Data on a Remote Laptop

Let's look at how this works in a real-world scenario. Imagine an employee named Sarah who works in the Finance department. She has a company-issued Windows 11 laptop that has been onboarded to Endpoint DLP via Intune.

The company has a DLP policy that looks for "Financial Data" (Credit Card numbers and Bank Account numbers). The policy is set to Block with Override for the following actions on endpoints:

  1. Copying to a USB Removable Drive.
  2. Uploading to cloud services via a browser.
  3. Printing to a local printer.

Sarah is working on a spreadsheet containing client payment info. She decides she wants to work on it over the weekend and tries to copy the file to her personal thumb drive. As soon as the file transfer starts, the Endpoint DLP sensor recognizes the sensitive patterns in the file. A small notification pops up on Sarah's screen saying, "This action is blocked by your organization's policy." Because the policy is "Block with Override," Sarah is given the option to provide a business justification (e.g., "Urgent client request") to proceed.

This entire interaction happened locally on the device. Even if Sarah had turned off her Wi-Fi, the policy would still have triggered because the "onboarding" process cached the policy rules directly on her laptop. This is the true power of Endpoint DLP.


Not read yet

Advanced Onboarding: macOS Devices

Onboarding macOS is slightly more complex than Windows because macOS has stricter security permissions regarding what software can monitor. To onboard a Mac, you follow these general steps:

  1. Deploy Microsoft Defender for Endpoint: You must install the MDE client first. This is typically done via an MDM tool like Jamf or Microsoft Intune.
  2. Grant Permissions: macOS requires "Full Disk Access" and "System Extensions" to be granted to the Defender app. If you are using an MDM, you can push a "Configuration Profile" that automatically grants these permissions so the user isn't prompted.
  3. Download the Onboarding Package: From the Purview portal, select macOS and download the .zip file.
  4. Deploy the Onboarding Script: Use your MDM to run the onboarding script contained in the package.

Warning: On macOS, if you do not properly configure the "Full Disk Access" permission via your MDM, the DLP sensor will be unable to scan files on the hard drive. This results in a "Silent Failure" where the device looks onboarded, but no data is actually being protected. Always verify the status on a test Mac using the command mdatp health.


Not read yet

Best Practices for Deployment

When rolling out Endpoint DLP onboarding, follow these industry-standard best practices to ensure a smooth transition:

1. Phased Rollout

Never onboard your entire organization at once. Start with a "Pilot" group of IT users, then move to a single department (like HR), and finally the rest of the company. This allows you to catch any software conflicts or performance issues before they affect everyone.

2. Use "Audit Mode" First

When you create your first DLP policies for these onboarded devices, set them to Audit mode. This allows you to see what would have been blocked without actually stopping users from working. Collect data for 2-4 weeks to tune your policies and reduce false positives.

3. Monitor Device Health

Regularly check the Device onboarding page in the Purview portal. It provides a health status for every device. Look for devices in an "Inactive" or "Can't be reached" state. These are often devices that haven't been turned on in a while or have network issues that are preventing policy updates.

4. Communication is Key

Before onboarding and enforcing policies, tell your users! Explain that these changes are to protect company data and their own privacy. Provide them with examples of the notifications they might see so they don't think their computer has a virus when a DLP block message appears.


Not read yet

Common Pitfalls and How to Avoid Them

Even with the best planning, you might encounter hurdles. Here are the most common mistakes admins make during the onboarding process:

  • Duplicate Onboarding: If a device is onboarded using a local script and then later targeted by an Intune policy, it can sometimes cause confusion in the reporting portal. Stick to one primary method for production devices.
  • Ignoring the Proxy: If your company uses a "Man-in-the-Middle" (MiTM) proxy that inspects SSL traffic, it can break the connection between the DLP sensor and the Microsoft cloud. You must bypass SSL inspection for the specific URLs used by the sensor.
  • Outdated OS Versions: Trying to onboard an old version of Windows 10 (like 1809) will result in limited functionality. Always aim for a version that is currently under "General Support" from Microsoft.
  • Conflicting Third-Party DLP: If you already have another DLP solution installed (like Digital Guardian or Forcepoint), disable it before onboarding to Microsoft Endpoint DLP. Running two kernel-level sensors simultaneously is a recipe for system crashes (Blue Screens of Death).
Feature Local Script Microsoft Intune Group Policy (GPO)
Ideal For Testing/Ad-hoc Modern/Cloud-first Legacy/On-prem
Scalability Low High Medium/High
Ease of Setup Very Easy Moderate (Requires MDM) Moderate (Requires AD)
User Interaction Admin must run it Transparent/Silent Transparent/Silent
Reporting Manual Integrated in Intune Limited

Not read yet

Troubleshooting Connectivity

If a device is onboarded but not receiving policies, the first thing to check is connectivity. You can run a built-in connectivity analyzer to see where the communication is failing.

On a Windows device, navigate to the directory where the sensor is installed and run the following command: cd "C:\Program Files\Windows Defender Advanced Threat Protection" .\SenseAnalyzer.exe

This tool will test the connection to all required cloud endpoints and provide a report. If you see "Fail" next to any URL, you know exactly what your network team needs to fix.

Another common troubleshooting step is checking the Event Viewer. Look under Applications and Services Logs > Microsoft > Windows > SENSE. This log contains detailed information about the sensor's initialization, policy downloads, and any errors it encountered while communicating with the Purview portal.

Not read yet

Summary and Key Takeaways

Onboarding devices for Endpoint DLP is the bridge between your high-level security policies and the actual data residing on user machines. By moving away from clunky agents and utilizing the built-in capabilities of Windows and macOS, you can achieve a high level of protection with minimal impact on productivity.

To ensure your onboarding project is a success, remember these key points:

  • The Sensor is Key: Endpoint DLP uses the built-in Windows Defender sensor. If you use Defender for Endpoint (MDE), your onboarding work is mostly done.
  • Prerequisites Matter: Ensure your OS versions are up to date and that your network allows communication with Microsoft’s telemetry URLs.
  • Choose the Right Tool: Use Intune for modern management, GPO for traditional on-premises environments, and local scripts only for testing.
  • Global Settings are Critical: Onboarding is just the start. You must enable "Device Monitoring" and configure exclusions/browser settings in the Purview portal to actually enforce protection.
  • Macs Need Extra Care: Onboarding macOS requires an MDM to handle permissions like Full Disk Access; otherwise, the sensor will be "blind" to the file system.
  • Test and Tune: Always start with a pilot group and use Audit mode to refine your policies before moving to a "Block" configuration.
  • Monitor Health: Use the Purview dashboard to regularly check for inactive or unhealthy devices to ensure your protective net remains intact.

By following this structured approach to onboarding, you create a resilient environment where sensitive data is protected no matter where it travels, giving your organization the confidence to embrace flexible, modern work styles without sacrificing security.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.