Your company is designing a governance solution for a multi-subscription Azure environment. A security team requires a custom RBAC role named 'Network Security Operator' to manage network security groups (NSGs) across all subscriptions in a specific department. These subscriptions are organized under a single department-level management group. You need to implement the custom role following the principle of least privilege. What is the correct sequence of steps to configure and assign this custom role?
- 1Retrieve the resource ID of the department-level management group.
- 2Create a custom role JSON definition specifying the network security group permissions and set the AssignableScopes property to the management group's resource ID.
- 3Register the custom role in the Azure tenant by importing the JSON definition.
- 4Assign the registered custom role to the security team's Microsoft Entra ID group at the department-level management group scope.
Cevap
Retrieve the management group resource ID, define the custom role JSON with AssignableScopes set to the management group ID, register the custom role in the tenant, and then assign the role to the Entra ID group at the management group scope.
The correct sequence requires obtaining the management group resource ID first to populate the AssignableScopes property in the JSON file. Next, the JSON file is defined with the necessary network security group actions and the specific assignable scope. After defining the JSON, the custom role is registered in the Azure tenant. Once registered, it is assigned to the security team's Microsoft Entra ID group at the department-level management group scope, enabling least-privilege administrative inheritance across all descendant subscriptions.
Adım Adım Çözüm
Anahtar Kavram
Azure Custom RBAC Role Lifecycle and Scope Inheritance