Forum Discussion
Flippantboy13
Jun 10, 2022Copper Contributor
Getting last sign-in logs for specific AzureAD group and exporting to excel
Data does appear but an error stops me from getting everything I get this error when I run the script how do I avoid or skip this? Error message: Get-AzureADAuditSignInLogs : Error occurred whi...
- Jun 10, 2022I think you're "flooding", you could add a start-sleep -seconds 1 after ##Get logs filtered by current guest ?
Jun 10, 2022
I think you're "flooding", you could add a start-sleep -seconds 1 after ##Get logs filtered by current guest ?
Newbie_Jones
Jun 10, 2022Brass Contributor
Or get all logs once and store them into a variable. (Just after you get the guest users).
Then filter on this variable in the loop. (Pipe the variable into a where-object)
Then filter on this variable in the loop. (Pipe the variable into a where-object)