Description:

This policy require administrators to provide consent for applications before use.


Rationale:

If Azure Active Directory 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:

From Azure Portal

1. From Azure Home select the Portal Menu

2. Select Azure Active Directory

3. Select Enterprise Applications

4. Select Consent and permissions

5. Select User consent settings

6. Ensure User consent for applications is set to Do not allow user consent


From PowerShell

Connect-MsolService
Get-MsolCompanyInformation | Select-Object
UsersPermissionToUserConsentToAppEnabled

Command should return UsersPermissionToUserConsentToAppEnabled with the value of False.


Remediation:

From Azure Portal

1. From Azure Home select the Portal Menu

2. Select Azure Active Directory

3. Select Enterprise Applications

4. Select Consent and permissions

5. Select User consent settings

6. Set User consent for applications to Do not allow user consent

7. Click save


Default Value:

By default, Users consent for applications is set to Allow user consent for apps.


References:

1. https://nicksnettravels.builttoroam.com/post/2017/01/24/Admin-Consent-forPermissions-in-Azure-Active-Directory.aspx

2. https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/configureuser-consent#configure-user-consent-to-applications

3. https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-privileged-access#pa-1-protect-and-limit-highly-privileged-users

4. https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-privileged-access#pa-2-restrict-administrative-access-to-business-criticalsystems

5. https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-governance-strategy#gs-2-define-enterprise-segmentation-strategy

6. https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-governance-strategy#gs-6-define-identity-and-privileged-access-strategy