Use JSON Batching to Fetch Entra ID Audit Sign-In Logs

JSON Batching and Entra ID Audit Data.

Microsoft 365 tenants generate an awful lot of Entra audit sign-in logs. Fetching all that data can take a long time. Even if you need to write more code, JSON batching is a fast and efficient way to fetch large quantities of Entra audit sign-in logs by dividing up retrieval across multiple requests and combing the output into one set. Everything works nicely and we have an example script to show how, and a warning about attacks against user accounts revealed by the data.