Microsoft Graph API - PIM Roles

Nathan Shaw 0 Reputation points
2023-04-25T12:27:45.29+00:00

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?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,629 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 100.2K Reputation points MVP
    2023-04-25T15:55:41.7233333+00:00