> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-microsoft-entra-id-users-can-consent-to-apps-accessing-company-data-on-their-behalf-not.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Microsoft Entra ID users can consent to apps accessing company data on their behalf not...

### Synopsis

| Field               | Value                                                                                                                    |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Rule Name           | Azure Microsoft Entra ID users can consent to apps accessing company data on their behalf not set to verified publishers |
| Rule Type           | Detection                                                                                                                |
| Finding Type        | Azure Microsoft Entra ID users can consent to apps accessing company data on their behalf not set to verified publishers |
| Finding ID          | 60000971                                                                                                                 |
| Generates a Finding | This detection rule also generates a finding                                                                             |
| Severity            | Medium                                                                                                                   |
| Category            | CONFIGURATION                                                                                                            |
| Cloud Providers     | AZURE                                                                                                                    |
| Platform Module     | CSPM                                                                                                                     |
| Asset Types         | AZURE\_ACTIVE\_DIRECTORY\_AUTHORIZATION\_POLICY                                                                          |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                                                          |
| ATT\&CK Technique   | T1685 (T1685)                                                                                                            |

### Description

Unverified applications gaining access to company data through Azure Microsoft Entra ID user consent poses a significant security risk.

The rule addresses the setting that controls whether Azure Microsoft Entra ID users can grant consent to applications, even if those applications are not from verified publishers. Allowing unverified apps to access company data exposes the organization to data breaches, unauthorized access, and potential compliance violations. Attackers could use unverified apps to infiltrate the environment, exfiltrating sensitive data or gaining unauthorized privileges.

A misconfiguration in this setting leads to increased risk of data breaches, resulting in financial losses, reputational damage, and legal penalties. Restricting consent to verified publishers ensures that only trusted applications can access organizational data, minimizing the attack surface and protecting sensitive information.

To mitigate this risk, enforce the setting to only allow user consent for applications from verified publishers. Regularly review and update the list of verified publishers to ensure it remains accurate and current. Implement a robust application vetting process before granting access to company data.

### Remediation

**Manual steps:**

Azure Active Directory Authorization Policy - Manual remediation steps:

1. Log in to Azure Portal and search for 'Microsoft Entra ID'
2. Select 'Microsoft Entra ID'
3. Select 'Enterprise Applications'
4. Select 'Consent and permissions'
5. Select 'User consent settings'
6. Under User consent for applications, select 'Allow user consent for apps from verified publishers, for selected permissions (Recommended)'
7. Select Save


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-microsoft-entra-id-users-can-consent-to-apps-accessing-company-data-on-their-behalf-not.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
