I suggest you look closely at the Graph API pagination guide - Paging Microsoft Graph data in your app and Microsoft Graph throttling guidance
Graph API endpoints return an @odata.nextLink property when pagination is triggered.
How to trigger pagination - In both cases you will get @odata.nextLink.
- You can trigger Graph API response pagination by specifying the $top operator with a value - This requires that you understand the page size limits of the workload. See this GitHub thread for more.
- Or you can run your first request and let Graph decide to paginate.
To get next page you just need to call @odata.nextLink. A few things to keep in mind:
- Pagination is supported differently across graph workloads - See Paging Microsoft Graph data in your app
- Check the throttling guide to make sure you don't run into throttling and how to deal with that.