Skip to content

Entra ID Roles - Privileged Role Members

The question it answers: Who holds an active or eligible assignment of a role Microsoft marks as privileged?

Where in the appEntra ID › Roles › Privileged Role Members
WorkloadEntra ID
KindTable
DataRead from Microsoft 365 when someone first opens it, then kept for the report cache lifetime (Settings > Data & cache, 1 hour unless changed). It reads through PowerShell (Exchange Online or SharePoint Online), so the first load takes longer than a Graph report.
LicenceNone for active assignments; Microsoft Entra ID P2 for eligible (PIM) assignments.
Report id (API and MCP)entra.directory-roles.privileged-role-members
ColumnKeyType
Role NameRoleNameText
Display NameDisplayNameText
UPNUPNText
Entity TypeEntityTypeText
Assignment TypeAssignmentTypeText

Licence: None for active assignments; Microsoft Entra ID P2 for eligible (PIM) assignments.

Application permissions on the IntensiveReports app registration (all permissions):

PermissionAPIWhat it allowsNote
RoleManagement.Read.DirectoryMicrosoft GraphRead all directory RBAC settings
Application.Read.AllMicrosoft GraphRead all applications
User.Read.AllMicrosoft GraphRead all users’ full profiles
Group.Read.AllMicrosoft GraphRead all groups
Data sources it reads
  • PowerShell: Get-MgBetaRoleManagementDirectoryRoleDefinition -Filter "isPrivileged eq true" (GET /beta/roleManagement/directory/roleDefinitions)
  • PowerShell: Get-MgRoleManagementDirectoryRoleAssignment -All (GET /v1.0/roleManagement/directory/roleAssignments, per role)
  • PowerShell: Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -All (GET /v1.0/roleManagement/directory/roleEligibilityScheduleInstances, per role)
  • PowerShell: Get-MgServicePrincipal -All (GET /v1.0/servicePrincipals)
  • PowerShell: Get-MgUser -All (GET /v1.0/users)
  • PowerShell: Get-MgGroup -All -Filter 'isAssignableToRole eq true' (GET /v1.0/groups)
GET /ir-api/v1/reports/entra.directory-roles.privileged-role-members?size=100

An AI assistant reads it with the MCP tool get_report and the id entra.directory-roles.privileged-role-members. The client needs the Read grant for Entra ID. See Using the API.