Skip to content

Commit 25226e5

Browse files
Merge pull request #251168 from rolyon/rolyon-rbac-custom-roles-management-group-scope-data-actions
[Azure RBAC] Custom roles with DataActions and management group scope (Preview)
2 parents 3d6ade0 + 7fb9811 commit 25226e5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: amycolannino
77
ms.service: role-based-access-control
88
ms.topic: conceptual
99
ms.workload: identity
10-
ms.date: 04/20/2023
10+
ms.date: 09/18/2023
1111
ms.author: rolyon
1212
---
1313

@@ -149,7 +149,7 @@ The following table describes what the custom role properties mean.
149149
| `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. |
150150
| `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). |
151151
| `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). |
152-
| `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 the management group scope. For more information, see [DataActions](role-definitions.md#dataactions). |
152+
| `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). |
153153
| `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). |
154154
| `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. For more information, see [AssignableScopes](role-definitions.md#assignablescopes). |
155155

@@ -211,6 +211,12 @@ The following list describes the limits for custom roles.
211211
- Custom roles with `DataActions` can't be assigned at the management group scope.
212212
- Azure Resource Manager doesn't validate the management group's existence in the role definition's `AssignableScopes`.
213213

214+
> [!IMPORTANT]
215+
> Custom roles with DataActions and management group AssignableScope is currently in PREVIEW.
216+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
217+
218+
- You can create a custom role with `DataActions` and one management group in `AssignableScopes`. You can't assign the custom role at the management group scope itself; however, you can assign the custom role at the scope of the subscriptions within the management group. This can be helpful if you need to create a single custom role with `DataActions` that needs to be assigned in multiple subscriptions, instead of creating a separate custom role for each subscription. This preview isn't available in Azure Government or Microsoft Azure operated by 21Vianet.
219+
214220
For more information about custom roles and management groups, see [What are Azure management groups?](../governance/management-groups/overview.md#azure-custom-role-definition-and-assignment).
215221

216222
## Input and output formats

0 commit comments

Comments
 (0)