Skip to content

Commit 050a60f

Browse files
Merge pull request #191849 from rolyon/rolyon-rbac-limits-update
[Azure RBAC] Limits update
2 parents dd3e2b5 + 863fa44 commit 050a60f

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: karenhoran
77
ms.service: role-based-access-control
88
ms.topic: conceptual
99
ms.workload: identity
10-
ms.date: 08/27/2021
10+
ms.date: 06/14/2022
1111
ms.author: rolyon
1212
---
1313

@@ -148,15 +148,15 @@ The following table describes what the custom role properties mean.
148148

149149
| Property | Required | Type | Description |
150150
| --- | --- | --- | --- |
151-
| `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 Azure AD directory. This display name must be unique at the scope of the Azure AD directory. Can include letters, numbers, spaces, and special characters. Maximum number of characters is 128. |
151+
| `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 Azure AD directory. This display name must be unique at the scope of the Azure AD directory. Can include letters, numbers, spaces, and special characters. Maximum number of characters is 512. |
152152
| `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. |
153153
| `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. |
154-
| `Description`</br>`description` | Yes | String | The description of the custom role. Can include letters, numbers, spaces, and special characters. Maximum number of characters is 1024. |
154+
| `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. |
155155
| `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). |
156156
| `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). |
157157
| `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 cannot be assigned at the management group scope. For more information, see [DataActions](role-definitions.md#dataactions). |
158158
| `NotDataActions`</br>`notDataActions` | No | String[] | An array of strings that specifies the data plane actions that are excluded from the allowed `DataActions`. For more information, see [NotDataActions](role-definitions.md#notdataactions). |
159-
| `AssignableScopes`</br>`assignableScopes` | Yes | String[] | An array of strings that specifies the scopes that the custom role is available for assignment. You can only define one management group in `AssignableScopes` of a custom role. Adding a management group to `AssignableScopes` is currently in preview. For more information, see [AssignableScopes](role-definitions.md#assignablescopes). |
159+
| `AssignableScopes`</br>`assignableScopes` | Yes | String[] | An array of strings that specifies the scopes that the custom role is available for assignment. Maximum number of `AssignableScopes` is 2,000. You can define only one management group in `AssignableScopes` of a custom role. Adding a management group to `AssignableScopes` is currently in preview. For more information, see [AssignableScopes](role-definitions.md#assignablescopes). |
160160

161161
Permission strings are case-insensitive. When you create your custom roles, the convention is to match the case that you see for permissions in [Azure resource provider operations](resource-provider-operations.md).
162162

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

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

13-
| Resource | Limit |
14-
| --- | --- |
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 |
16-
| [Azure role assignments per management group](../../articles/role-based-access-control/overview.md) | 500 |
17-
| [Size of description for Azure role assignments](../../articles/role-based-access-control/conditions-faq.md) | 2 KB |
18-
| [Size of condition for Azure role assignments](../../articles/role-based-access-control/conditions-overview.md) | 8 KB |
19-
| [Azure custom roles per tenant](../../articles/role-based-access-control/custom-roles.md) | 5,000 |
20-
| [Azure custom roles per tenant](../../articles/role-based-access-control/custom-roles.md)<br/>(for Azure Germany and Azure China 21Vianet) | 2,000 |
13+
| Area | Resource | Limit |
14+
| --- | --- | --- |
15+
| [Azure role assignments](../../articles/role-based-access-control/overview.md) | | |
16+
| | Azure role assignments per Azure subscription<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 |
17+
| | Azure role assignments per management group | 500 |
18+
| | Size of description for Azure role assignments | 2 KB |
19+
| | Size of [condition](../../articles/role-based-access-control/conditions-overview.md) for Azure role assignments | 8 KB |
20+
| [Azure custom roles](../../articles/role-based-access-control/custom-roles.md) | | |
21+
| | Azure custom roles per tenant | 5,000 |
22+
| | Azure custom roles per tenant<br/>(for Azure Germany and Azure China 21Vianet) | 2,000 |
23+
| | Size of role name for Azure custom roles | 512 chars |
24+
| | Size of description for Azure custom roles | 2 KB |
25+
| | Number of assignable scopes for Azure custom roles | 2,000 |

0 commit comments

Comments
 (0)