# Add Permissions to the Application - Defender for Endpoint

{% hint style="warning" %}
This document is under construction. Please excuse our dust.
{% endhint %}

The application you created in the previous section requires additional API permissions to access Defender for Endpoint.&#x20;

#### Step 1:&#x20;

* Sign into your Azure account.
* Go to the App you created on [Register Epiphany as an Application in Azure](/technical-documentation/data-sources/azure-services/register-epiphany-as-an-application-in-azure.md) and navigate to **API permissions**. \ <br>

  <figure><img src="/files/VaZESQKtpxbS7pOSSEmN" alt=""><figcaption></figcaption></figure>

#### Step 2:

* Select **Add a permission**
* Select **APIs my organization uses**
* In the search box, type **WindowsDefenderATP**.&#x20;
* Select **WindowsDefenderATP**.&#x20;

Step 3:&#x20;

<figure><img src="/files/LCQTOokZjqmJP7d5F5mZ" alt=""><figcaption></figcaption></figure>

* Select the following permissions:&#x20;
  * Machine.Read.All&#x20;
  * User.Read.All&#x20;
  * Alert.Read.All&#x20;
  * Software.Read.All&#x20;
  * Vulnerability.Read.All&#x20;
* Select **Add permissions**

Step 4:

Every time you add a permission, you must select **Grant consent** for the new permission to take effect.

<figure><img src="/files/hrgjc43IlmpXvZZmjuW8" alt=""><figcaption></figcaption></figure>

* Select **Grant admin consent for \[Application Name]**


---

# 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.reveald.com/technical-documentation/data-sources/azure-services/add-permissions-to-the-application-defender-for-endpoint.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.
