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

Logic Apps Standard OperatorAzure built-in role

You can enable and disable the logic app, resubmit workflow runs, as well as create connections. You can't edit workflows or settings.

Role IDb70c96e9-66fe-4c09-b6e7-c98e69c98555
CategoryIntegration
Actions19 (minus 2 NotActions)
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Insights/alertRules/*Every operation under Microsoft.Insights/alertRules
Microsoft.Resources/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/subscriptions/operationresults/readGet the subscription operation results.
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Support/*Every operation under Microsoft.Support
Microsoft.Web/*/readAny read operation on anything under Microsoft.Web
Microsoft.Web/sites/applySlotConfig/ActionApply web app slot configuration from target slot to the current web app
microsoft.web/sites/hostruntime/*Every operation under microsoft.web/sites/hostruntime
Microsoft.Web/sites/restart/ActionRestart a Web App
Microsoft.Web/sites/slots/restart/ActionRestart a Web App Slot
Microsoft.Web/sites/slots/slotsswap/ActionSwap Web App deployment slots
Microsoft.Web/sites/slots/start/ActionStart a Web App Slot
Microsoft.Web/sites/slots/stop/ActionStop a Web App Slot
Microsoft.Web/sites/slotsdiffs/ActionGet differences in configuration between web app and slots
Microsoft.Web/sites/slotsswap/ActionSwap Web App deployment slots
Microsoft.Web/sites/start/ActionStart a Web App
Microsoft.Web/sites/stop/ActionStop a Web App
Microsoft.Web/sites/writeCreate a new Web App or update an existing one

Can't do

These are taken away from the actions above.

PermissionWhat it allows
Microsoft.Web/sites/hostruntime/host/_master/readGet Function App's master key for admin operations
Microsoft.Web/sites/hostruntime/host/actionPerform Function App runtime action like sync triggers, add functions, invoke functions, delete functions etc.

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 Apps Standard Operator" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Logic Apps Standard Operator" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'b70c96e9-66fe-4c09-b6e7-c98e69c98555')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b70c96e9-66fe-4c09-b6e7-c98e69c98555')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "b70c96e9-66fe-4c09-b6e7-c98e69c98555"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other integration roles

Find the smallest role for a task →