r/entra • u/Unlikely_Tie1172 • 2h ago
Entra ID Use JSON Batching with PowerShell to Fetch Entra ID Audit Sign-In Logs
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 PowerShell script to show how, and a warning about attacks against user accounts revealed by the data.
https://office365itpros.com/2026/12/02/json-batching-audit-sign-in-logs/