silverhack/monkey365

[Bug]: Infinite recursion during Azure AD lookup within @odata.nextLink

silverhack opened this issue · 1 comments

What happened?
Some queries against Azure and Microsoft 365 will return multiple pages of data due to server-side paging. When more than 999 records are returned, Microsoft Graph returns an @odata.nextLink property in the response that contains a URL to the next page of results. When this happens, an infinite recursion is triggered in Monkey365 when parsing a response that contains a @odata.NextLink.

How to reproduce it
This only happens when more than 999 records are returned.

Fixed on dev branch