Microsoft GRAPH API -Get Contacts

Kishor Ambekar 1 Reputation point
2021-03-03T10:16:00.49+00:00

I am using Microsoft Graph API to get contacts of the user, while checking through postaman it shows only 10 results. Is there restriction on the API, can we change it?

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

1 answer

Sort by: Most helpful
  1. Vasil Michev 98,111 Reputation points MVP
    2021-03-03T18:23:58.323+00:00

    Simply adjust the value of the $top parameter or use the @odata.nextLink. I'd strongly recommend you review the following articles:

    https://learn.microsoft.com/en-us/graph/query-parameters#top-parameter
    https://learn.microsoft.com/en-us/graph/paging

    0 comments No comments