Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to deal with the 50k Item limit #22

Open
Canthv0 opened this issue Aug 28, 2019 · 2 comments
Open

Need to deal with the 50k Item limit #22

Canthv0 opened this issue Aug 28, 2019 · 2 comments
Labels
Enhancement New feature or request

Comments

@Canthv0
Copy link
Collaborator

Canthv0 commented Aug 28, 2019

Search-UnifiedAuditLog will only return 50k items. If the search gets back >50k items we have two issues:

  1. How do we get all of the items back and not just the 50K
  2. Right now the return gets stuck in a loop and will keep trying to get back the 50k
@davidrudduck
Copy link

Could you use something like the example script at this url (https://blogs.msdn.microsoft.com/tehnoonr/2018/01/26/retrieving-office-365-audit-data-using-powershell/) to pull down the Unified Audit Log in 15 minute chunks?

Or start with 60 minute chunks and if the query produces > 5,000 results reduce the time slice further to help optimise the pull.

I hacked at the above script and managed to pull down 1.2GB worth of Unified Audit Log for a tenancy before it finally crapped out.

@T0pCyber T0pCyber added the Enhancement New feature or request label Apr 15, 2021
@T0pCyber
Copy link
Owner

Does Robust Cloud Command help against this restriction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

3 participants