Azure role · management-and-governance
Reservations ReaderAzure built-in role
Lets one read all the reservations in a tenant
Read onlyChange some thingsChange anythingGive access to others
Low risk. It can only read.
In short: Reservations Reader is an Azure built-in role with 2 actions.
| Role ID | 582fc458-8989-419f-a480-75249bc5db7e |
|---|---|
| Category | Management-and-governance |
| Actions | 2 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Capacity/*/read | Any read operation on anything under Microsoft.Capacity |
Microsoft.Authorization/roleAssignments/read | Get information about a role assignment. |
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 "Reservations Reader" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Reservations Reader" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '582fc458-8989-419f-a480-75249bc5db7e')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '582fc458-8989-419f-a480-75249bc5db7e')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "582fc458-8989-419f-a480-75249bc5db7e"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other management-and-governance roles
- Service Group Contributor · 1 permission
- Template Spec Reader · 1 permission
- Carbon Optimization Reader · 2 permissions
- Hierarchy Settings Administrator · 2 permissions
- Service Group Reader · 2 permissions
- Advisor Reviews Reader · 3 permissions
- Managed Application Operator Role · 3 permissions
- Managed Application Publisher Operator · 3 permissions
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/reservations-reader/">Reservations Reader Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.