azureblog.co.uk
← cd ~/roles
// roles/azure · security

App Compliance Automation AdministratorAzure built-in role

Allows managing App Compliance Automation tool for Microsoft 365

Role ID0f37683f-2463-46b6-9ce7-9b788b988ba2
CategorySecurity
Actions28
Data actions0

What it can do

PermissionWhat it allows
Microsoft.AppComplianceAutomation/*Every operation under Microsoft.AppComplianceAutomation
Microsoft.Storage/storageAccounts/blobServices/writeReturns the result of put blob service properties
Microsoft.Storage/storageAccounts/fileservices/writePut file service properties
Microsoft.Storage/storageAccounts/listKeys/actionReturns the access keys for the specified storage account.
Microsoft.Storage/storageAccounts/writeCreates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account.
Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/actionReturns a user delegation key for the blob service
Microsoft.Storage/storageAccounts/readReturns the list of storage accounts or gets the properties for the specified storage account.
Microsoft.Storage/storageAccounts/blobServices/containers/readReturns a container
Microsoft.Storage/storageAccounts/blobServices/containers/writeReturns the result of patch blob container
Microsoft.Storage/storageAccounts/blobServices/readList blob services
Microsoft.PolicyInsights/policyStates/queryResults/actionQuery information about policy states.
Microsoft.PolicyInsights/policyStates/triggerEvaluation/actionTriggers a new compliance evaluation for the selected scope.
Microsoft.Resources/resources/readGet the list of resources based upon filters.
Microsoft.Resources/subscriptions/readGets the list of subscriptions.
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/subscriptions/resourceGroups/resources/readGets the resources for the resource group.
Microsoft.Resources/subscriptions/resources/readGets resources of a subscription.
Microsoft.Resources/subscriptions/resourceGroups/deleteDeletes a resource group and all its resources.
Microsoft.Resources/subscriptions/resourceGroups/writeCreates or updates a resource group.
Microsoft.Resources/tags/readGets all the tags on a resource.
Microsoft.Resources/deployments/validate/actionValidates a deployment.
Microsoft.Security/automations/readGets the automations for the scope
Microsoft.Resources/deployments/writeCreates or updates an deployment.
Microsoft.Security/automations/deleteDeletes the automation for the scope
Microsoft.Security/automations/writeCreates or updates the automation for the scope
Microsoft.Security/register/actionRegisters the subscription for Azure Security Center
Microsoft.Security/unregister/actionUnregisters the subscription from Azure Security Center
*/readEvery operation matching */read

Assign it

Scope it as tightly as you can: a resource or resource group rather than the whole subscription.

azure cli
az role assignment create \
  --assignee "jane.doe@contoso.com" \
  --role "App Compliance Automation Administrator" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "App Compliance Automation Administrator" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '0f37683f-2463-46b6-9ce7-9b788b988ba2')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '0f37683f-2463-46b6-9ce7-9b788b988ba2')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "0f37683f-2463-46b6-9ce7-9b788b988ba2"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other security roles

Find the smallest role for a task →