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

Logic App ContributorAzure built-in role

Lets you manage logic app, but not access to them.

Role ID87a39d53-fc1b-424a-814c-f7e04687dc9e
CategoryIntegration
Actions21
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.ClassicStorage/storageAccounts/listKeys/action
Microsoft.ClassicStorage/storageAccounts/read
Microsoft.Insights/alertRules/*Every operation under Microsoft.Insights/alertRules
Microsoft.Insights/metricAlerts/*Every operation under Microsoft.Insights/metricAlerts
Microsoft.Insights/diagnosticSettings/*Every operation under Microsoft.Insights/diagnosticSettings
Microsoft.Insights/logdefinitions/*Every operation under Microsoft.Insights/logdefinitions
Microsoft.Insights/metricDefinitions/*Every operation under Microsoft.Insights/metricDefinitions
Microsoft.Logic/*Every operation under Microsoft.Logic
Microsoft.Resources/deployments/*Every operation under Microsoft.Resources/deployments
Microsoft.Resources/subscriptions/operationresults/readGet the subscription operation results.
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Storage/storageAccounts/listkeys/actionReturns the access keys for the specified storage account.
Microsoft.Storage/storageAccounts/readReturns the list of storage accounts or gets the properties for the specified storage account.
Microsoft.Support/*Every operation under Microsoft.Support
Microsoft.Web/connectionGateways/*Every operation under Microsoft.Web/connectionGateways
Microsoft.Web/connections/*Every operation under Microsoft.Web/connections
Microsoft.Web/customApis/*Every operation under Microsoft.Web/customApis
Microsoft.Web/serverFarms/join/actionJoins an App Service Plan
Microsoft.Web/serverFarms/readGet the properties on an App Service Plan
Microsoft.Web/sites/functions/listSecrets/actionList Function secrets.

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 "Logic App Contributor" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Logic App Contributor" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '87a39d53-fc1b-424a-814c-f7e04687dc9e')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '87a39d53-fc1b-424a-814c-f7e04687dc9e')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "87a39d53-fc1b-424a-814c-f7e04687dc9e"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other integration roles

Find the smallest role for a task →