-
Notifications
You must be signed in to change notification settings - Fork 92
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
Scaling -- option to foreach paralell? #67
Comments
What part of the export times out? It's not surprising with that many users, and you probably are dealing with a massive number of groups as well. My initial thoughts, while certainly not definitive or authoritative, are:
|
We are actually exporting each thing independently to attain a little better performance: $EntraOptions=@("Config","AccessReviews","ConditionalAccess","Applications","ServicePrincipals","B2C","B2B","PIM","PIMAzure","PIMAAD","AppProxy","Organization","Domains","EntitlementManagement","Policies","AdministrativeUnits","SKUs","Identity","Roles","Governance","Devices") Unused Options = All, Users Groups$EntraOptions | foreach-object -Parallel { The issue is absolutely with users and their groups. It just times out after an hour; often never exporting any users at all. I am able to use the splunk connector for azure to get a copy of the base users on a 24 hour window, but that doesn't grab group memberships at the same time. TY for the reference to Robust Cloud Command. This may be a way around this with something more custom. FWIW, a filter on the user export that would allow a user export to occur based on upn's starting with a* b* c* would be excellent in this tool. That would allow us to run the user export in 26 parallel task streams one for each begining letter of the alphabet.... :) |
Running in parallel may be hurting your throttling limits. Have a look at these two documents:
Try running |
Do you get an out of memory issue or some other exception? |
I work for an organization with a rather large tenant; 1.2 million users, tens of thousands of groups. The export times out. Wondering what recommendations you may have to thread this out so that it can finish. My goal is to get the files exported to blob and then ingest it into Splunk so we can report on the tenant at scale across all users/groups and have it self version.
The text was updated successfully, but these errors were encountered: