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

Azure Resource Notifications System Topics SubscriberAzure built-in role

Lets you create system topics and event subscriptions on all system topics exposed currently and in the future by Azure Resource Notifications

Role ID0b962ed2-6d56-471c-bd5f-3477d83a7ba4
CategoryIntegration
Actions10
Data actions0

What it can do

PermissionWhat it allows
Microsoft.ResourceNotifications/systemTopics/subscribeToResources/actionPermission to perform creation and event subscription creation on a resources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToHealthResources/actionPermission to perform creation and event subscription creation on a healthresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToMaintenanceResources/actionPermission to perform creation and event subscription creation on a maintenanceresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToComputeResources/actionPermission to perform creation and event subscription creation on a computeresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToComputeScheduleResources/actionPermission to perform creation and event subscription creation on a computescheduleresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToContainerServiceEventResources/actionPermission to perform creation and event subscription creation on a containerserviceeventresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToImpactReportingResources/actionPermission to perform creation and event subscription creation on a impactreportingresources system topic
Microsoft.ResourceNotifications/systemTopics/subscribeToAksResources/actionPermission to perform creation and event subscription creation on a aksresources system topic
Microsoft.EventGrid/eventSubscriptions/writeCreate or update an eventSubscription
Microsoft.EventGrid/systemTopics/eventSubscriptions/writeCreate or update a SystemTopic eventSubscription

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 "Azure Resource Notifications System Topics Subscriber" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Azure Resource Notifications System Topics Subscriber" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '0b962ed2-6d56-471c-bd5f-3477d83a7ba4')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '0b962ed2-6d56-471c-bd5f-3477d83a7ba4')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "0b962ed2-6d56-471c-bd5f-3477d83a7ba4"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other integration roles

Find the smallest role for a task →