Graph API v1.0 endpoint to retrieve eligible Azure AD group assignments for an admin user setup in PIM

Karuppasamy, Hari 0 Reputation points
2025-05-15T11:09:08.2166667+00:00

Hello,

I would like to know the Graph API v1.0 endpoint to retrieve eligible Azure AD group assignments for an admin user setup in Entra PIM.

I tried with the below beta endpoint in Postman tool. However I get 403 even with right API permission in Entra (PrivilegedAccess.Read.AzureADGroup.All) https://graph.microsoft.com/beta/privilegedAccess/aadGroups/roleAssignments?$expand=linkedEligibleRoleAssignment,subject,roleDefinition($expand=resource)&$filter=(assignmentState eq 'Eligible') and (subject/id eq '<subject id of an admin user>')

Two questions here:

  1. I would like to productionise the API call and is there a v1.0 endpoint matching the above endpoint?
  2. Is it possible to get the above beta endpoint working or is it just not possible because of the PIM restrictions?

(Or) Is there totally an alternate way to retrieve the eligible Azure AD group assignments instead of using the subject id of an user in the endpoint?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,711 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2025-05-15T12:43:11.08+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.