Hello @Ashifa T , in order to obtain all members from n groups in one call to the Microsoft Graph API you can use the $filter
and $expand
query parameters like this:
GET https://graph.microsoft.com/v1.0/groups?$filter=id+in+('string','string',...)&$select=id&$expand=members
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.