Retrieving People without specifying an explicit $top parameter value leads to the nextLink with same results

Andrew Omondi 246 Reputation points Microsoft Employee
2021-08-16T06:00:31.787+00:00

Do the following request to the graph api, this will return the default number of items (currently 10):

GET https://graph.microsoft.com/v1.0/me/people?$filter=personType/class%20eq%20'Person'

Following the odata.NextLink property will lead to the following request being made.

GET https://graph.microsoft.com/v1.0/me/people?%24filter=personType%2fclass+eq+%27Person%27&%24skip=0

The value in the $skip parameter should now be 10, but it actually is 0

Is this intended?

Sourced from https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1102

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,818 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 37,786 Reputation points
    2021-08-18T08:34:46.527+00:00

    It is confirmed that this is a bug, and we have submitted the error message to the microsoft product team. If there is any update on this bug, I will reply you here and update the answer.


0 additional answers

Sort by: Most helpful