NotActions is a property in an Azure role definition that subtracts listed management operations from the permitted Actions, such as a wildcard. It is not a deny: another role assignment can still grant the excluded operation. Reviewers should check custom roles that combine wildcard Actions with NotActions, since the grant stays broad.
What NotActions Changes in Azure Role Definitions
NotActions is a subtraction mechanism inside an Azure role definition, so it narrows a role’s granted operations without creating a true explicit deny. That distinction matters because role evaluation is additive: if another assignment grants the same operation elsewhere, the action can still be allowed.
The practical effect is that NotActions is best understood as an exception list inside a role scope, not as an enforcement boundary. It can reduce what a custom role appears to permit, but it does not guarantee the excluded operation stays blocked across the tenant or subscription.
In reviewer terms, the important question is whether the role definition is relying on NotActions to make a broad wildcard safer. A wildcard plus exclusions can still leave a wide privilege surface, especially when the same principal has other role assignments, inherited access, or overlapping custom roles.
How NotActions Is Evaluated with Other Role Assignments
Azure evaluates permissions cumulatively, so the effective access for a principal comes from the full set of applicable assignments, not from one role definition in isolation. Azure RBAC and Service Principals Guide is useful here because the same access path often involves role assignments, scopes, and service principal governance together.
This means NotActions only subtracts from the permissions contributed by that specific role definition. It does not override a separate role that grants the same management operation, and it does not behave like a deny assignment. That is why effective-access review is more important than reading the JSON definition in isolation.
For custom roles, the risk increases when a broad Actions pattern is paired with a small NotActions list. The role may look narrowly tailored, but the actual effect depends on what other role grants already exist at the resource group, subscription, or management-group level.
Why Broad Wildcards with NotActions Are Easy to Misread
NotActions is attractive because it lets administrators reuse a broad permission set and carve out a few exclusions. The downside is that reviewers may mistake the exclusions for stronger protection than they really provide, especially when the wildcard is broad enough to cover many future operations.
That can create a false sense of least privilege. The role author may believe they have safely blocked a sensitive management operation, while the effective permission model still permits it through another role path or a later role change.
It also creates maintenance risk. As Azure adds new management operations, a wildcard-based custom role can expand in practice while the NotActions list remains unchanged, so the true blast radius may grow without anyone revisiting the role design.
What Reviewers Should Check in a Custom Role
Reviewers should inspect the full role assignment picture, not only the role definition text. The key check is whether a broad Actions pattern is being used as a shortcut and whether the excluded operations are still reachable through another assignment, inherited scope, or built-in role.
They should also validate the intent of the custom role against the actual operational need. If the role is meant to be constrained, the design should be defensible without relying on NotActions as the main safeguard.
For governance, the most useful practice is to treat NotActions as a design convenience that still requires periodic effective-access review. If the role controls high-impact management operations, the reviewer should confirm that the exclusions are still meaningful after any change to scope, inheritance, or adjacent role grants.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | NotActions affects how broad Azure role permissions are trimmed. |
| AC-2 — Account Management | Role definitions and assignments must be governed across their lifecycle. | |
| AC-5 — Separation of Duties | Broad roles with exceptions can still concentrate authority across overlapping assignments. | |
| Recommendation — Review effective permissions and remove excess access paths that remain through other assignments. Track role assignment changes and recertify that exceptions still match approved need. Prevent one principal from accumulating conflicting management capabilities through multiple roles. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | Azure role definitions and effective access are access-control governance issues. |
| Recommendation — Continuously review cloud role grants and remove unnecessary permissions and overlaps. | ||
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org