---
sourceDocument: Brazil Security Management
sourceDocumentLink: https://www.servicenow.com/docs/r/security-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Getting started with Microsoft DLP IR integration for data loss prevention

# Getting started with Microsoft DLP IR integration for
data loss prevention {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Getting started with Microsoft DLP IR integration for data loss prevention

This guide provides essential steps and prerequisites for setting up the Microsoft Data Loss Prevention (DLP) Incident Response (IR) integration with ServiceNow.
It enables customers to ingest Microsoft Purview DLP events and manage detected sensitive data within the ServiceNow platform, enhancing data loss prevention capabilities.
Show full answer Show less  

## Setup Prerequisites

* **Microsoft Purview and Storage Credentials:** Obtain credentials for Microsoft Purview event data access and AWS or Azure storage accounts to store match content externally.
* **Microsoft Azure Application Registration:** Register an application in the Microsoft Azure platform to retrieve Client ID, Client Secret, and Tenant ID required for integration.
* **API Permissions and Roles:** Assign appropriate API permissions to the Azure application, including Office 365 Management API (ActivityFeed.ReadDlp) for reading DLP events, and optionally Microsoft Graph API permissions (Files.Read.All, Mail.Read) to allow downloading of attachments or email content related to DLP events.
* **Storage Access Roles:**
  * For Azure users: Assign the Storage Blob Data Contributor role to enable reading, writing, and deleting blobs on Azure Storage.
  * For AWS users: Create and apply an IAM policy granting list, read, write, and delete access for objects in an Amazon S3 bucket.
* **ServiceNow Roles and Applications:** Ensure required ServiceNow roles are assigned:
  * Admin role to install the integration and assign the sndlir.admin role.
  * sndlir.admin role to configure integration and incident profiles.
  Also, confirm that the necessary ServiceNow applications (Security Support Common, Data Loss Prevention, Incident Response) are installed and activated.

## Practical Benefits and Outcomes

* Integration enables automated ingestion of Microsoft DLP event data into ServiceNow, facilitating centralized incident management for data loss prevention.
* Storing sensitive match content externally in Azure Blob Storage or Amazon S3 allows secure and scalable handling of detected sensitive information.
* Optional permissions to download email content and attachments provide analysts with detailed context for DLP incidents directly within ServiceNow.
* Role and permission configurations ensure secure, compliant access to Microsoft and cloud storage resources required for the integration.  
Review the following information before you start setting up your Microsoft
DLP IR integration for data loss prevention.
{#getting-started-microsoft-integration__table_yvc_gb3_1nc__entry__2}

| Setup task | Description |
|-|-|
| Get the Microsoft Purview credentials to fetch the event data and AWS/Azure Storage account credentials to store the match content Register an application with the Microsoft identity platform | Register an application on the Microsoft Azure platform from [here](https://learn.microsoft.com/en-us/office/office-365-management-api/get-started-with-office-365-management-apis#register-your-application-in-azure-ad) to get the Client ID, Client Secret, and Tenant ID. For information on the Roles required for creating an application, see [Prerequisites](https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#prerequisites). For information on the API Permissions/Roles required on a Microsoft Azure application to configure it on ServiceNow Microsoft DLP integration, refer to the following table. |
| Permissions required for Azure user to get the access of read/write/delete blob on Azure Storage | 1. Assign the Storage Blob Data Contributor role to an existing Azure user to read, write, and delete blobs on Azure Storage. For information about the role, see [Azure built-in roles: Storage Blob Data Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-blob-data-contributor). Alternatively, create a custom role and specify the actions. For information about creating custom roles, see [Azure custom roles](https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles). 2. Assign a shared access key to the user that has the role privileges. For information about account access keys, see [View account access keys](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#view-account-access-keys). {#getting-started-microsoft-integration__ol_lsk_x1z_khc} |
| Permissions required for AWS user to get the access of read/write/delete object on AWS Storage | Create a policy that gives list, read, write, and delete access for the object in AWS S3 Storage. 1. Create and configure an Amazon S3 bucket. For information about creating an S3 bucket, see [Create an S3 bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html). 2. Provide read and write access to Amazon S3 bucket objects. For information about the object accesses, see the [example policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_s3_rw-bucket.html). For information about creating policies, see [Create IAM policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create-console.html). 3. Provide the access key and the secret key to the user. For information about authentication, see [Authenticating the AWS tools](https://docs.aws.amazon.com/powershell/latest/userguide/creds-idc.html). {#getting-started-microsoft-integration__ol_dfs_qbz_khc} |
| Assign and verify if you have the required roles for ServiceNow AI Platform and Data Loss Administration roles. | The following roles are required for configuration and verification of the expected results: * The admin role installs the integration from the ServiceNow Store and assigns the sn_dlir.admin role. * The sn_dlir.admin role performs the following tasks: * Configures the integration. * Sets up the incident profiles. {#getting-started-microsoft-integration__ul_vj5_ynd_rpb} {#getting-started-microsoft-integration__ul_u5g_nc3_1nb} |
| Verify that the ServiceNow core applications required to support the Microsoft DLP IR integration are installed and activated before you configure this integration. | Verify that the following DLP IR applications and security support common applications are installed and activated from the ServiceNow Store. Install and activate through the application, if required. * Security Support Common * Data Loss Prevention Incident Response {#getting-started-microsoft-integration__ul_lmn_lnh_zrb} |
[Table 1. Checklist]

{#getting-started-microsoft-integration__table_yvc_gb3_1nc}  
{#getting-started-microsoft-integration__table_u52_yyl_vwb__entry__6}

| API | Permission name | Type | Description | Required for which ServiceNow functionality? | Is Admin consent required? |
|-|-|-|-|-|-|
| Office 365 Management API | ActivityFeed.ReadDlp | Application | Read DLP policy events including detected sensitive data. | To ingest the DLP events from MSFT Purview to ServiceNow. Note: This permission is required to get the Microsoft data into ServiceNow. | Yes |
| Microsoft Graph API | Files.Read.All | Application | Read files in all site collections that you can access. | Download File: To download the attachment on the ServiceNow instance that caused the DLP event from OneDrive or SharePoint Note: This permission is optional. You can skip this API permission if you don't want to allow the analysts to download the attachment that caused the DLP event. | Yes |
| Microsoft Graph API | Mail.Read | Application | Read mail in all mailboxes. | Download File: To download the email content (body and attachment) on the ServiceNow instance that caused the DLP event from Exchange. Note: Optional. You can skip this API permission if you don't want to allow the analysts to download the email content (body, attachment) that caused the DLP event. | Yes |
| Microsoft Graph API | User.Read | Delegated | Sign in and read user profile. | Default permission available for all new applications. | No |
[Table 2. Required API Permissions/Roles on a Microsoft Azure applicationYou need the following API Permissions/Roles on a Microsoft Azure application to configure it on ServiceNow Microsoft DLP integration.]

{#getting-started-microsoft-integration__table_u52_yyl_vwb}

## Detected Sensitive Information (Optional) {#getting-started-microsoft-integration__section_ik5_cdh_tyb}

The match content is stored externally in Azure Blob Storage or Amazon S3 bucket and will be pulled from external storage when the user views an incident.  
Any one of the following permissions are required if the users would like to view Match Content/Detected Sensitive Information in the DLP Core application:

1. If you're a Microsoft Azure user, you must have the role Storage Blob Data Contributor to read, write, and delete blobs on Azure Storage.
2. If you're an Amazon S3 user, you must create a policy that gives list, read, write, and delete access for the object in Amazon S3 Storage.
{#getting-started-microsoft-integration__ol_imj_gdh_tyb}

