With paging the max is 50,000 and you can back 90 days
Note that Microsoft recommends using the new GUI search now:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the PowerShell code equivalent for exporting the Unified Audit logs with the specific Workload like in the below screenshot?
https://compliance.microsoft.com/auditlogsearch?viewid=Async%20Search
With paging the max is 50,000 and you can back 90 days
Note that Microsoft recommends using the new GUI search now:
HI, you can use this:
https://learn.microsoft.com/en-us/purview/audit-log-search-script