Open AspenForester opened 1 year ago
Return @odata.nextLink for Invoke-MgGraphRequest Expected experience URI to include the page size you need e.g. "https://graph.microsoft.com/v1.0/users?$top=5" Response to include "@odata.nextLink" to get the next pages.
Reference: https://learn.microsoft.com/en-us/graph/paging?tabs=powershell
Any movement on this? Also looking to make writing scripts that $batch a little easier
As a user accessing large collections of graph objects, I want
Invoke-MgGraphRequest
to have-FollowRelLink
and-MaximumFollowRelLink
parameters likeInvoke-RESTMethod
does so that I don't have to cook up my own pagination handlers. Ideally this support would extend to the responses from the "Batch" endpoint as well.