# Role assignment

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

A role assignment attaches a role definition to a principal at a scope in Azure. It decides who gets the permissions, where they apply, and, with a condition, under what circumstances. One person can hold several assignments at different scopes, and the assignments combine.

## An example, sourced

Microsoft's documentation says a role assignment is associated with a role definition, and lists properties including the scope and the roleDefinitionId, the unique ID of the role.

## Why it matters here

Least privilege in Azure is mostly decided at assignment time, by choosing the role, the principal and the scope together.

## Related pages

- [Role definition: meaning and an example](/glossary/role-definition/)
- [IAM Conditions: meaning and an example](/glossary/iam-conditions/)
- [Principal access boundary: meaning and an example](/glossary/principal-access-boundary/)
- [All of them](/glossary/)

## Sources

- https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://leastprivilegeprinciple.com/glossary/role-assignment/
