← 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 ID | b70c96e9-66fe-4c09-b6e7-c98e69c98555 |
|---|---|
| Category | Integration |
| Actions | 19 (minus 2 NotActions) |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
Microsoft.Insights/alertRules/* | Every operation under Microsoft.Insights/alertRules |
Microsoft.Resources/deployments/operations/read | Gets or lists deployment operations. |
Microsoft.Resources/subscriptions/operationresults/read | Get the subscription operation results. |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Support/* | Every operation under Microsoft.Support |
Microsoft.Web/*/read | Any read operation on anything under Microsoft.Web |
Microsoft.Web/sites/applySlotConfig/Action | Apply 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/Action | Restart a Web App |
Microsoft.Web/sites/slots/restart/Action | Restart a Web App Slot |
Microsoft.Web/sites/slots/slotsswap/Action | Swap Web App deployment slots |
Microsoft.Web/sites/slots/start/Action | Start a Web App Slot |
Microsoft.Web/sites/slots/stop/Action | Stop a Web App Slot |
Microsoft.Web/sites/slotsdiffs/Action | Get differences in configuration between web app and slots |
Microsoft.Web/sites/slotsswap/Action | Swap Web App deployment slots |
Microsoft.Web/sites/start/Action | Start a Web App |
Microsoft.Web/sites/stop/Action | Stop a Web App |
Microsoft.Web/sites/write | Create a new Web App or update an existing one |
Can't do
These are taken away from the actions above.
| Permission | What it allows |
|---|---|
Microsoft.Web/sites/hostruntime/host/_master/read | Get Function App's master key for admin operations |
Microsoft.Web/sites/hostruntime/host/action | Perform 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.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "Logic Apps Standard Operator" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Logic Apps Standard Operator" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"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?
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
- App Configuration Data Reader · 1 permission
- DeID Batch Data Reader · 1 permission
- DeID Data Owner · 1 permission
- DeID Realtime Data User · 1 permission
- DICOM Data Owner · 1 permission
- DICOM Data Reader · 1 permission
- Durable Task Data Contributor · 1 permission
- Durable Task Worker · 1 permission