Skip to content

Commit 1c884f0

Browse files
authored
Merge pull request #179612 from rolyon/rolyon-rbac-role-assignments-limit-update
[Azure RBAC] Role assignments limit update
2 parents ce7d05f + 49da039 commit 1c884f0

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

articles/role-based-access-control/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For more information, see [What is Azure AD Privileged Identity Management?](../
4141

4242
## Assign roles to groups, not users
4343

44-
To make role assignments more manageable, avoid assigning roles directly to users. Instead, assign roles to groups. Assigning roles to groups instead of users also helps minimize the number of role assignments, which has a [limit of 2,000 role assignments per subscription](troubleshooting.md#azure-role-assignments-limit).
44+
To make role assignments more manageable, avoid assigning roles directly to users. Instead, assign roles to groups. Assigning roles to groups instead of users also helps minimize the number of role assignments, which has a [limit of role assignments per subscription](troubleshooting.md#azure-role-assignments-limit).
4545

4646
## Next steps
4747

articles/role-based-access-control/conditions-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Azure ABAC builds on Azure RBAC by adding role assignment conditions based on at
3434
There are three primary benefits for using role assignment conditions:
3535

3636
- **Provide more fine-grained access control** - A role assignment uses a role definition with actions and data actions to grant a security principal permissions. You can write conditions to filter down those permissions for more fine-grained access control. You can also add conditions to specific actions. For example, you can grant John read access to blobs in your subscription only if the blobs are tagged as Project=Blue.
37-
- **Help reduce the number of role assignments** - Each Azure subscription currently has a 2000 role assignment limit. There are scenarios that would require thousands of role assignments. All of those role assignments would have to be managed. In these scenarios, you could potentially add conditions to use significantly fewer role assignments.
37+
- **Help reduce the number of role assignments** - Each Azure subscription currently has a role assignment limit. There are scenarios that would require thousands of role assignments. All of those role assignments would have to be managed. In these scenarios, you could potentially add conditions to use significantly fewer role assignments.
3838
- **Use attributes that have specific business meaning** - Conditions allow you to use attributes that have specific business meaning to you in access control. Some examples of attributes are project name, software development stage, and classification levels. The values of these resource attributes are dynamic and change as users move across teams and projects.
3939

4040
## Example scenarios for conditions

articles/role-based-access-control/role-assignments-list-portal.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: mtillman
77
ms.service: role-based-access-control
88
ms.topic: how-to
99
ms.workload: identity
10-
ms.date: 12/09/2020
10+
ms.date: 11/12/2021
1111
ms.author: rolyon
1212
---
1313

@@ -132,6 +132,8 @@ You can list role assignments for system-assigned and user-assigned managed iden
132132

133133
You can have up to **2000** role assignments in each subscription. This limit includes role assignments at the subscription, resource group, and resource scopes. To help you keep track of this limit, the **Role assignments** tab includes a chart that lists the number of role assignments for the current subscription.
134134

135+
The role assignments limit for a subscription is currently being increased. For more information, see [Troubleshoot Azure RBAC](troubleshooting.md#azure-role-assignments-limit).
136+
135137
![Access control - Number of role assignments chart](./media/role-assignments-list-portal/access-control-role-assignments-chart.png)
136138

137139
If you are getting close to the maximum number and you try to add more role assignments, you'll see a warning in the **Add role assignment** pane. For ways that you can reduce the number of role assignments, see [Troubleshoot Azure RBAC](troubleshooting.md#azure-role-assignments-limit).

articles/role-based-access-control/role-assignments-steps.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: mtillman
77
ms.service: role-based-access-control
88
ms.topic: how-to
99
ms.workload: identity
10-
ms.date: 04/14/2021
10+
ms.date: 11/12/2021
1111
ms.author: rolyon
1212
---
1313

@@ -78,7 +78,9 @@ If you are using a service principal to assign roles, you might get the error "I
7878

7979
## Step 5. Assign role
8080

81-
Once you know the security principal, role, and scope, you can assign the role. You can assign roles using the Azure portal, Azure PowerShell, Azure CLI, Azure SDKs, or REST APIs. You can have up to **2000** role assignments in each subscription. This limit includes role assignments at the subscription, resource group, and resource scopes. You can have up to **500** role assignments in each management group.
81+
Once you know the security principal, role, and scope, you can assign the role. You can assign roles using the Azure portal, Azure PowerShell, Azure CLI, Azure SDKs, or REST APIs.
82+
83+
You can have up to **2000** role assignments in each subscription. This limit includes role assignments at the subscription, resource group, and resource scopes. You can have up to **500** role assignments in each management group. The role assignments limit for a subscription is currently being increased. For more information, see [Troubleshoot Azure RBAC](troubleshooting.md#azure-role-assignments-limit).
8284

8385
Check out the following articles for detailed steps for how to assign roles.
8486

articles/role-based-access-control/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.workload: identity
1010
ms.tgt_pltfrm: na
1111
ms.devlang: na
1212
ms.topic: troubleshooting
13-
ms.date: 10/01/2021
13+
ms.date: 11/12/2021
1414
ms.author: rolyon
1515
ms.custom: seohack1, devx-track-azurecli, devx-track-azurepowershell
1616
---
@@ -23,7 +23,7 @@ This article answers some common questions about Azure role-based access control
2323
Azure supports up to **2000** role assignments per subscription. This limit includes role assignments at the subscription, resource group, and resource scopes, but not at the management group scope. If you get the error message "No more role assignments can be created (code: RoleAssignmentLimitExceeded)" when you try to assign a role, try to reduce the number of role assignments in the subscription.
2424

2525
> [!NOTE]
26-
> The **2000** role assignments limit per subscription is fixed and cannot be increased.
26+
> Starting November 2021, the role assignments limit for a subscription is being increased from **2000** to **4000** over the next several months. Subscriptions that are near the limit will be prioritized first. The limit for the remaining subscriptions will be increased over time.
2727
2828
If you are getting close to this limit, here are some ways that you can reduce the number of role assignments:
2929

includes/role-based-access-control/limits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
author: rolyon
66
ms.service: role-based-access-control
77
ms.topic: include
8-
ms.date: 06/08/2021
8+
ms.date: 11/12/2021
99
ms.author: rolyon
1010
ms.custom: include file
1111
---
1212

1313
| Resource | Limit |
1414
| --- | --- |
15-
| [Azure role assignments per Azure subscription](../../articles/role-based-access-control/overview.md) | 2,000 |
15+
| [Azure role assignments per Azure subscription](../../articles/role-based-access-control/overview.md)<br/>The role assignments limit for a subscription is currently being increased. For more information, see [Troubleshoot Azure RBAC](../../articles/role-based-access-control/troubleshooting.md#azure-role-assignments-limit). | 2,000 |
1616
| [Azure role assignments per management group](../../articles/role-based-access-control/overview.md) | 500 |
1717
| [Size of description for Azure role assignments](../../articles/role-based-access-control/conditions-faq.md) | 2 KB |
1818
| [Size of condition for Azure role assignments](../../articles/role-based-access-control/conditions-overview.md) | 8 KB |

0 commit comments

Comments
 (0)