Microsoft Azure
Custom RBAC role
Appears inAZ-305
A user-defined role that combines a specific set of permissions (Actions, NotActions, DataActions) when the built-in Azure roles do not fit the required least-privilege principle.
On the exam
AZ-305 asks when to create a custom role instead of using Contributor/Reader: when you need to grant exactly a subset of permissions (e.g., only restart VMs, without being able to delete them). It's defined in JSON and assigned just like a built-in role.
Related terms
- Azure RBAC (Role-Based Access Control)Azure's authorization system for managing who has access to which resources and what they can do with them. Roles (Owner, Contributor, Reader) are assigned to users, groups, or service identities.
- Managed IdentityA Microsoft Entra ID identity that Azure manages automatically so a resource (VM, App Service, Function) can authenticate to other services without storing credentials in code. There are two types: system-assigned (tied to the resource) and user-assigned (independent and reusable).