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

Durable Task Data ReaderAzure built-in role

Read all Durable Task Scheduler data.

Role IDd6a5505f-6ebb-45a4-896e-ac8274cfc0ac
CategoryIntegration
Actions0
Data actions2

Before you assign it

  • It reaches the data, not just the resource. It has 2 data actions, such as reading blobs, secrets or messages.

What it can do

No control-plane actions.

Data actions

PermissionWhat it allows
Microsoft.DurableTask/schedulers/taskhubs/orchestrations/readGets or list orchestrations metadata, including payloads
Microsoft.DurableTask/schedulers/taskhubs/orchestrations/metadata/readGets or lists orchestration metadata, but not payloads

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 "Durable Task Data Reader" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Durable Task Data Reader" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'd6a5505f-6ebb-45a4-896e-ac8274cfc0ac')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'd6a5505f-6ebb-45a4-896e-ac8274cfc0ac')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "d6a5505f-6ebb-45a4-896e-ac8274cfc0ac"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other integration roles

Find the smallest role for a task →