Graph API not fetching some AD groups

Suku006 20 Reputation points
2023-06-16T07:29:31.9633333+00:00

Hi,

I am working on the application and i am using Microsoft graph api "https://graph.microsoft.com/v1.0/groups" for groups but it is not getting all the groups it is showing some groups.

Do i need to enable anything or set any filter?

How i can get all the groups from Active directory groups using graph api?

Thanks

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

Accepted answer
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2023-06-16T07:59:41.0566667+00:00

    Microsoft graph api "https://graph.microsoft.com/v1.0/groups doesn't support pagination. So, to retrieve all the results, Microsoft Graph returns an @odata.nextLink property in the response that contains a URL to the next page of results. Following url will help to resolve the issue

    Paging Microsoft Graph data in your app


    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.