← 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 ID | 0b962ed2-6d56-471c-bd5f-3477d83a7ba4 |
|---|---|
| Category | Integration |
| Actions | 10 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.ResourceNotifications/systemTopics/subscribeToResources/action | Permission to perform creation and event subscription creation on a resources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToHealthResources/action | Permission to perform creation and event subscription creation on a healthresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToMaintenanceResources/action | Permission to perform creation and event subscription creation on a maintenanceresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToComputeResources/action | Permission to perform creation and event subscription creation on a computeresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToComputeScheduleResources/action | Permission to perform creation and event subscription creation on a computescheduleresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToContainerServiceEventResources/action | Permission to perform creation and event subscription creation on a containerserviceeventresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToImpactReportingResources/action | Permission to perform creation and event subscription creation on a impactreportingresources system topic |
Microsoft.ResourceNotifications/systemTopics/subscribeToAksResources/action | Permission to perform creation and event subscription creation on a aksresources system topic |
Microsoft.EventGrid/eventSubscriptions/write | Create or update an eventSubscription |
Microsoft.EventGrid/systemTopics/eventSubscriptions/write | Create or update a SystemTopic eventSubscription |
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 "Azure Resource Notifications System Topics Subscriber" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Azure Resource Notifications System Topics Subscriber" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"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?
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
- 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