What should we do when encountering a Graph API response page for the second time?

Andrew H 0 Reputation points
2023-08-31T18:59:25.0366667+00:00

User's image

For specific Graph API endpoints, I have found that when pulling pages for a response, MS occasionally will send a nextPage link that we have already seen. Here is the code used for detection.

var loopDetection = new HashSet<string>
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,078 questions
0 comments No comments
{count} votes