What are `NotActions` and why are they not a deny?
IntermediateConceptEntra ID, RBAC and Identities
Answer
NotActions subtract operations from a role's own Actions. They do not block access granted by another role. If someone has Contributor (whose NotActions exclude Microsoft.Authorization/*/Write) and also User Access Administrator, they can assign roles.
So "Contributor minus delete" built with NotActions only works if that is the person's only role. For real denies use Azure Policy (deny effect), resource locks, or deny assignments from deployment stacks.
More on Entra ID, RBAC and Identities
What is Microsoft Entra ID and how is it different from on-prem Active Directory?BeginnerWhat is the difference between an app registration and a service principal?BeginnerWhat is a managed identity and what problem does it solve?BeginnerSystem-assigned vs user-assigned managed identity: when do you use each?IntermediateHow does Azure RBAC evaluate access?IntermediateName the core built-in roles and the difference between Owner, Contributor and User Access Administrator.Beginner