# Microsoft Purview DLP

## Connection Requirements

{% stepper %}
{% step %}

### Client ID

Client ID (Application ID) of the registered Azure AD application used to access Microsoft Purview DLP.
{% endstep %}

{% step %}

### Client Secret

* In the left menu, go to Certificates & Secrets and click New client secret. Provide a description and expiration period, then click Add. Make sure to copy the secret value immediately — you won’t be able to see it again later.
* Next, open API Permissions > Add a permission.
* Select Microsoft Graph, then choose Application permissions.
* Add the permissions your application needs: ThreatHuntingRead.All
  {% endstep %}

{% step %}

### Tenant ID

Tenant ID (Directory ID) of the Microsoft Purview DLP tenant.
{% endstep %}

{% step %}

### Timeout

Define the maximum duration, in seconds, before the connection is automatically closed if there is no response. This field defaults to 30 seconds. Adjust this value if your network or server configuration requires a longer timeout period.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Please perform a connection test to ensure there is a valid connection to the host.

When the discovery operation is finalized, you will be able to see the details on the Assets page.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.octoxlabs.com/adapters/adapters/microsoft-purview-dlp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
