AZ-500 · Question #361
You have an Azure subscription that uses Azure Active Directory (Azure AD) Privileged Identity Management (PIM). A PIM user that is assigned the User Access Administrator role reports receiving an…
The correct answer is B. User Access Administrator. The PIM service principal requires appropriate permissions to manage role assignments within a subscription, and an authorization error indicates insufficient permissions. To resolve this with least privilege, the PIM service principal should be granted the User Access…
Question
Options
- AContributor
- BUser Access Administrator
- CManaged Application Operator
- DResource Policy Contributor
How the community answered
(35 responses)- A6% (2)
- B77% (27)
- C3% (1)
- D14% (5)
Why each option
The PIM service principal requires appropriate permissions to manage role assignments within a subscription, and an authorization error indicates insufficient permissions. To resolve this with least privilege, the PIM service principal should be granted the User Access Administrator role.
The Contributor role grants full access to manage all resources but does not include the ability to assign roles in Azure RBAC, making it insufficient for managing access and exceeding least privilege if other permissions are not needed.
The Azure AD PIM service principal needs permissions at the subscription level to manage role assignments effectively. The User Access Administrator role is specifically designed to manage user access to Azure resources, including the ability to view all role assignments and assign roles, which aligns with the operations PIM performs, adhering to the principle of least privilege.
The Managed Application Operator role is specific to managing managed applications and does not grant permissions for managing Azure RBAC role assignments across a subscription.
The Resource Policy Contributor role is for managing resource policies (Azure Policy) and does not provide permissions to view or assign Azure RBAC roles.
Concept tested: Azure PIM service principal permissions for role management
Source: https://learn.microsoft.com/azure/active-directory/privileged-identity-management/subscription-owners-ready-pima#grant-the-privileged-identity-management-service-access-to-your-azure-resources
Topics
Community Discussion
No community discussion yet for this question.