Understanding the Use of User.Read.All vs User.ReadBasic.All in Application Permissions
Question
This article outlines the rationale for using the User.Read.All permission in the context of EPM, an Azure-registered application, and explains why User.ReadBasic.All may not be sufficient for its operational requirements.
Organizations often aim to follow the principle of least privilege when assigning permissions to applications. While User.ReadBasic.All appears to be a safer alternative due to its limited scope, it may not meet all functional requirements.
EPM requires access to user profile and group membership data to enforce policy-based access and ensure accurate user-to-group mapping within Azure Active Directory (Azure AD). While User.ReadBasic.All is a more restrictive permission, it does not meet the functional needs of EPM.
Environment
EPM Windows Agent
Answer
Key Differences and Justification
-
Permission Scope
User.ReadBasic.Allprovides access to a limited set of user properties (e.g., display name, email, job title).- It does not include group membership information, which is essential for EPM’s policy enforcement logic.
-
Group Membership Requirement
- EPM relies on group membership data to associate users with Azure AD groups and apply relevant policies.
- Although
GroupMember.Read.Allgrants access to group data, it does not provide a complete view when used withoutUser.Read.All.
-
Why
User.Read.AllIs RequiredUser.Read.Allincludes comprehensive user profile data, including group memberships.- This enables EPM to:
- Evaluate user roles and entitlements.
- Apply conditional access and compliance policies.
- Ensure accurate mapping between users and Azure AD groups.
For EPM to function securely and effectively as an Azure-registered application, it must access detailed user and group information. The User.Read.All permission is necessary to meet these requirements, whereas User.ReadBasic.All lacks the scope needed for full policy enforcement and user-group correlation.
For more information on how to register EPM as an Azure application and configure permissions, refer to the official Idira documentation:
https://docs.cyberark.com/epm/latest/en/content/admin/azuread-addepmagentasazureregapp.htm?Highlight=azure