That API endpoint does not cover PIM features, use the following instead: https://learn.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-apis#design-of-current-api-iteration
Microsoft Graph API - PIM Roles
Nathan Shaw
0
Reputation points
I am trying to call the GraphAPI to get all eligible and active PIM roles for a user in our tenant. When I use the bellow call, I only get active assignments /graph.microsoft.com/beta/roleManagement/directory/transitiveRoleAssignments Is there a filter to use to get the eligible assignments as well?