eligibilityScheduleInstances endpoint not working as documented?

Marko Uljarevic 25 Reputation points
2025-03-04T16:03:22.9533333+00:00

Hello,

I am working with Microsoft Graph API and using Privileged Identity Management (PIM) for groups. I attempted to use the following endpoint: Privileged Access Group - List Eligibility Schedule Instances.

The first GET request from the example in the docs works correctly. Additionally, filtering with both groupId and principalId together also works. However, when I try to use only principalId, I receive an error with the code UnauthorizedAccessException.

I have ensured that I included the $ symbol before filter, even though it is missing in the documentation.

Do you know what could be causing this issue?

Thank you.

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

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 10,555 Reputation points Microsoft External Staff
    2025-03-05T06:37:47.3633333+00:00

    Hello Marko Uljarevic,

    Thank you for reaching out to Microsoft Support!

    I ran tests for your problem, and the results were the same as yours, with errors when principalId only was used.

    And other users have raised similar issues recently, so this may be a recent Graph API issue.

    To this I suggest you open a support ticket with Microsoft Support to get help from the API owner.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


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.