Skip to content

Commit e1b6cbd

Browse files
Merge pull request #295213 from rolyon/rolyon-rbac-limits-assignments-custom-roles
[Azure RBAC] Role assignments and custom role limits update
2 parents a7fb3cb + f0cf746 commit e1b6cbd

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: amycolannino
66
ms.service: role-based-access-control
77
ms.subservice: conditions
88
ms.topic: conceptual
9-
ms.date: 05/09/2023
9+
ms.date: 02/26/2025
1010
ms.author: rolyon
1111
---
1212

@@ -63,7 +63,7 @@ A condition can be up to 8 KB long.
6363

6464
**What are the limits for a description?**
6565

66-
A description can be up to 2 KB long.
66+
A description has a recommended maximum of 512 characters.
6767

6868
**Is it possible to create a role assignment with and without a condition, but using the same tuple of security principal, role definition, and scope?**
6969

articles/role-based-access-control/custom-roles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: rolyon
55
manager: amycolannino
66
ms.service: role-based-access-control
77
ms.topic: conceptual
8-
ms.date: 02/22/2024
8+
ms.date: 02/26/2025
99
ms.author: rolyon
1010
---
1111

@@ -141,10 +141,10 @@ The following table describes what the custom role properties mean.
141141

142142
| Property | Required | Type | Description |
143143
| --- | --- | --- | --- |
144-
| `Name`</br>`roleName` | Yes | String | The display name of the custom role. While a role definition is a management group or subscription-level resource, a role definition can be used in multiple subscriptions that share the same Microsoft Entra tenant. This display name must be unique at the scope of the Microsoft Entra tenant. Can include letters, numbers, spaces, and special characters. Maximum number of characters is 512. |
144+
| `Name`</br>`roleName` | Yes | String | The display name of the custom role. While a role definition is a management group or subscription-level resource, a role definition can be used in multiple subscriptions that share the same Microsoft Entra tenant. This display name must be unique at the scope of the Microsoft Entra tenant. Can include letters, numbers, spaces, and special characters. Recommended maximum: 256 characters. |
145145
| `Id`</br>`name` | Yes | String | The unique ID of the custom role. For Azure PowerShell and Azure CLI, this ID is automatically generated when you create a new role. |
146146
| `IsCustom`</br>`roleType` | Yes | String | Indicates whether this is a custom role. Set to `true` or `CustomRole` for custom roles. Set to `false` or `BuiltInRole` for built-in roles. |
147-
| `Description`</br>`description` | Yes | String | The description of the custom role. Can include letters, numbers, spaces, and special characters. Maximum number of characters is 2048. |
147+
| `Description`</br>`description` | Yes | String | The description of the custom role. Can include letters, numbers, spaces, and special characters. Recommended maximum: 512 characters. |
148148
| `Actions`</br>`actions` | Yes | String[] | An array of strings that specifies the control plane actions that the role allows to be performed. For more information, see [Actions](role-definitions.md#actions). |
149149
| `NotActions`</br>`notActions` | No | String[] | An array of strings that specifies the control plane actions that are excluded from the allowed `Actions`. For more information, see [NotActions](role-definitions.md#notactions). |
150150
| `DataActions`</br>`dataActions` | No | String[] | An array of strings that specifies the data plane actions that the role allows to be performed to your data within that object. If you create a custom role with `DataActions`, that role can't be assigned at management group scope. For more information, see [DataActions](role-definitions.md#dataactions). |

articles/role-based-access-control/whats-new.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This article provides information about new features and documentation improveme
1818

1919
| Date | Area | Description |
2020
| --- | --- | --- |
21+
| February 2025 | Limits | Updates to [Azure RBAC limits](../azure-resource-manager/management/azure-subscription-service-limits.md#azure-rbac-limits). |
2122
| February 2025 | Roles | Added [Chaos Studio Target Contributor](built-in-roles/devops.md#chaos-studio-target-contributor) role. |
2223
| February 2025 | Security | Added instructions for how to detect elevate access events using Microsoft Sentinel. See [Detect elevate access events using Microsoft Sentinel](elevate-access-global-admin.md#detect-elevate-access-events-using-microsoft-sentinel). |
2324
| February 2025 | Permissions | Updated list of permissions for the Azure Container Registry. See [Microsoft.ContainerRegistry](permissions/containers.md#microsoftcontainerregistry). |

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
author: rolyon
55
ms.service: role-based-access-control
66
ms.topic: include
7-
ms.date: 04/19/2023
7+
ms.date: 02/26/2025
88
ms.author: rolyon
99
ms.custom: include file
1010
---
1111

1212
| Area | Resource | Limit |
1313
| --- | --- | --- |
1414
| [Azure role assignments](../../articles/role-based-access-control/overview.md) | | |
15-
| | Azure role assignments per Azure subscription | 4,000 |
16-
| | Azure role assignments per management group | 500 |
17-
| | Size of description for Azure role assignments | 2 KB |
15+
| | Number of Azure role assignments per Azure subscription | 4,000 |
16+
| | Number of Azure role assignments per management group | 500 |
17+
| | Size of description for Azure role assignments | Recommended maximum: 512 chars |
1818
| | Size of [condition](../../articles/role-based-access-control/conditions-overview.md) for Azure role assignments | 8 KB |
1919
| [Azure custom roles](../../articles/role-based-access-control/custom-roles.md) | | |
20-
| | Azure custom roles per tenant | 5,000 |
21-
| | Azure custom roles per tenant<br/>(for Microsoft Azure operated by 21Vianet) | 2,000 |
22-
| | Size of role name for Azure custom roles | 512 chars |
23-
| | Size of description for Azure custom roles | 2 KB |
20+
| | Number of Azure custom roles per tenant | 5,000 |
21+
| | Number of Azure custom roles per tenant<br/>(for Microsoft Azure operated by 21Vianet) | 2,000 |
22+
| | Size of role name for Azure custom roles | Recommended maximum: 256 chars |
23+
| | Size of description for Azure custom roles | Recommended maximum: 512 chars |
24+
| | Size of an Azure custom role definition | 1 MB |
2425
| | Number of assignable scopes for Azure custom roles | 2,000 |

0 commit comments

Comments
 (0)