GET roleManagement/directory/roleEligibilityScheduleRequests not returning data

Matthew Wiper 20 Reputation points
2025-04-01T10:36:44.08+00:00

Hello all,

In querying the MS Graph API, I've noticed that as of a few months ago,

GET roleManagement/directory/roleEligibilityScheduleRequests

Does not appear to return any data, regardless of the existence of roleEligibilityScheduleRequests in EntraID. There is no error returned. The API returns a 200. It appears that this API has not been returning the expected results since around December 30th 2024.

Thanks in advance,

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

Accepted answer
  1. Akhil Nasalwai - MSFT 1,455 Reputation points Microsoft External Staff
    2025-04-02T04:14:54.7033333+00:00

    Hello Matthew Wiper,

    Thank you for reaching out to Microsoft!!

    While querying the MS Graph API to list the roleEligibilityScheduleRequests, I tried replicating in the Graph Explorer and it is working as expected.

    roleeligibilityschedulerequests

    We suggest you verifying the permissions once RoleEligibilitySchedule.ReadWrite.Directory and RoleManagement.ReadWrite.Directory are granted along with the admin consent granted in the Entra portal.

    Since this resource supports Optional Query Parameters, try appending the $select or $filter to see the expected response.

    After trying the above even if the issue persists, I recommend you in raising a support case with Microsoft, a Support Engineer will be able to look into this issue and assist you better. You can raise support ticket from New support request - Microsoft Entra admin center or https://admin.microsoft.com/#/support/requests.

    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.


1 additional answer

Sort by: Most helpful
  1. Tianyang Jian (Shanghai Wicresoft Co Ltd) 95 Reputation points Microsoft External Staff
    2025-04-02T06:18:22.59+00:00

    Hi,Matthew Wiper.I am gald to help you.
    Like this?
    API URL:
    https://learn.microsoft.com/en-us/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0&tabs=http
    User's image

    When your API returns a null result, possible reasons include:

    No data: There may not be any roleEligibilityScheduleRequests data in EntraID.

    Permission issues: The user may not have sufficient permissions to view this data. Make sure the user has RoleEligibilitySchedule.ReadWrite.Directory or RoleManagement.ReadWrite.Directory permissions.

    Query Parameter Problems: Check to see if incorrect query parameters are being used. You can try to request all the data directly without any query parameters

    And I hope you find the following suggestions helpful

    Confirm role assignment: Make sure you have assigned this custom role to a user or group. You can do the following in Azure Portal:

    Navigate to Azure Active Directory.

    Select Roles and administrators.

    Locate and select the custom role you created

    Click Assignments, then click Add assignments, select the user or group, and complete the role assignment.

    1. Run the Graph API: You can now run the Graph API again to check the results!
      Blow is my test:
      User's image

    User's image

    Rerun the API and you can see that the data exists.
    User's image

    Hope this helps.

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

    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.