Control: 6.13 Ensure that 'User consent for applications' is set to 'Allow user consent for apps from verified publishers, for selected permissions'
Description
Allow users to provide consent for selected permissions when a request is coming from a verified publisher.
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.
Remediation
From Azure Portal
- From Azure Home select the Portal Menu.
 - Select 
Microsoft Entra ID. - Under 
Manage, selectEnterprise applications. - Under 
Security, selectConsent and permissions`. - Under 
Manage, selectUser consent settings. - Under 
User consent for applications, selectAllow user consent for apps from verified publishers, for selected permissions. - Click 
Save. 
Default Value
By default, User consent for applications is set to Allow user consent for apps.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v400_6_13Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v400_6_13 --shareSQL
This control uses a named query:
select  id as resource,  'info' as status,  'Manual verification required.' as reason,  display_name as subscriptionfrom  azure_subscription;