| name | cis-azure-foundations-5.12 |
| description | Ensure 'User consent for applications' is set to 'Do not allow user consent' |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","identity","application-consent","enterprise-apps","permissions"] |
| cis_id | 5.12 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-5.13","cis-azure-foundations-5.14"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure 'User consent for applications' is set to 'Do not allow user consent'
Description
Require administrators to provide consent for applications before use.
Rationale
If Microsoft Entra ID is running as an identity provider for third-party applications, permissions and consent should be limited to administrators or pre-approved. Malicious applications may attempt to exfiltrate data or abuse privileged user accounts.
Impact
Enforcing this setting may create additional requests that administrators need to review.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu
- Select
Microsoft Entra ID
- Under
Manage, select Enterprise applications
- Under
Security, select Consent and permissions
- Under
Manage, select User consent settings
- Ensure
User consent for applications is set to Do not allow user consent
Using PowerShell
Connect-MgGraph
(Get-MgPolicyAuthorizationPolicy).DefaultUserRolePermissions | Select-Object -ExpandProperty PermissionGrantPoliciesAssigned
If the command returns no values in response, the configuration complies with the recommendation.
Expected Result
User consent for applications should be set to Do not allow user consent. The PowerShell command should return no values.
Remediation
Using Azure Portal
- From Azure Home select the Portal Menu
- Select
Microsoft Entra ID
- Under
Manage, select Enterprise applications
- Under
Security, select Consent and permissions
- Under
Manage, select User consent settings
- Set
User consent for applications to Do not allow user consent
- Click
Save
Default Value
By default, Users consent for applications is set to Allow user consent for apps.
References