Your organization has an Azure management group hierarchy consisting of a root management group and several child management groups. You are designing a governance strategy and need to implement a custom Azure RBAC role named 'Billing Reader Custom' for a specific child management group named 'Finance-MG'. The role must be assignable only within 'Finance-MG' and its descendants. You need to create this custom role and assign it to a Microsoft Entra security group named 'Finance Auditors' for a specific subscription under 'Finance-MG'. Which sequence of steps should you perform to create and assign the custom role?
- 1Verify that your account has the Owner or User Access Administrator role at the 'Finance-MG' scope.
- 2Retrieve the resource ID for the 'Finance-MG' management group.
- 3Create a JSON role definition file, setting the AssignableScopes property to include the 'Finance-MG' resource ID.
- 4Register the custom role definition by executing the 'az role definition create' command.
- 5Assign the custom role to the 'Finance Auditors' security group at the scope of the target subscription.
Cevap
Verify permissions at the management group scope, retrieve the management group resource ID, define the AssignableScopes in the JSON file using the management group ID, register the role using the CLI, and assign it to the security group at the subscription scope.
To create a custom Azure RBAC role scoped to a management group, you must first verify that you have administrative access (such as Owner or User Access Administrator) at that management group scope. You then retrieve the management group's resource ID and place it in the AssignableScopes array of the role definition JSON. Once the JSON file is created, you register the role using the CLI command. Finally, because the subscription inherits the custom role availability from the parent management group, you assign the role to the target group at the subscription scope.
Adım Adım Çözüm
Anahtar Kavram
Azure Custom RBAC Roles can be scoped to Management Groups, allowing them to be inherited by all child subscriptions and resources, while the creation itself requires appropriate write permissions at that management group level.
Tahmini Süre:3m 0s