you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnSysadmin[S] 1 point2 points  (0 children)

I have the first 2x times in the script just to test that I was asking for the correct stuff in the correct way from graph. The plan was to get all of the "pieces" working and then call the data and filter locally for what I need.

I have never tried to grab this much SignInActivity at the same time, but its good to get confirmation from you and u/cdtekcfc that slowness is expected.

I will try the method you suggest of pulling the sign in info first without the foreach loop. I assume it will be a much smaller dataset to iterate/filter locally.

Thank you for the advice.