Your company has an Azure subscription named Sub1 that contains a resource group named RG1. You need to ensure that a user named User1 can view all resources inside RG1. User1 must not be able to view resources in any other resource groups within Sub1, nor modify any resources. Which action should you perform?
- AAssign the Reader role to User1 at the Sub1 subscription scope.
- Assign the Reader role to User1 at the RG1 resource group scope.Answer
- CAssign the Global Administrator role to User1 in Microsoft Entra ID.
- DAssign the Reader role to User1 at the scope of an Administrative Unit containing RG1.
Answer
Assign the Reader role to User1 at the RG1 resource group scope.
Assigning the Reader role at the resource group scope grants the user read-only permissions for all resources within that specific resource group. Because the scope is restricted to the resource group, the user cannot view resources in other resource groups within the subscription, satisfying all requirements.
Step-by-Step Solution
Key Concept
Azure RBAC inheritance and scopes