An enterprise is implementing a subscription governance strategy. You need to create a custom Azure RBAC role named 'VM Operator' that allows users to manage virtual machines but prevents them from modifying associated virtual networks. The role must be assignable across all subscriptions in a specific Management Group named 'Production-MG'.
Which sequence of steps should you perform to define, create, and assign this custom RBAC role?
- 1Retrieve the resource ID of the 'Production-MG' management group.
- 2Configure the 'AssignableScopes' property in the custom role definition JSON file to include the management group resource ID.
- 3Register the custom role definition in Azure by executing a role creation command referencing the JSON file.
- 4Create a role assignment that binds the registered custom role to the target Microsoft Entra ID security group at the scope of 'Production-MG'.
Cevap
The correct sequence starts with retrieving the resource ID of the 'Production-MG' management group, followed by configuring the AssignableScopes property in the custom role definition JSON, registering the custom role in Azure, and finally creating the role assignment for the security group at the management group scope.
To successfully deploy and assign a custom role at the management group scope, you must follow a dependency-aware sequence: first, retrieve the scope's resource ID; second, reference it in the custom role definition's AssignableScopes; third, register the definition in Azure; and fourth, assign the registered role to the target identity group.
Adım Adım Çözüm
Anahtar Kavram
Azure Custom Role Definition and Deployment Workflow