Forum Discussion
Zied_Berrima
Jun 01, 2023Copper Contributor
Optimize powershell script when it is executed on a tenant with x thousands of users
hello
Im facing a problem of latency when i excecute the script and also there are some limitations of azure ad : sign in and audit logs are available for 30 days only : getting blank cells in the csv reports
The main problem is when i execute the script to audit 3000 guest user ( audit guest users) , it take a lot of time without results and errors like : error reading jtoken ..
what can i do to better increase the speed of execution ???
Thank you 🙏
- Andres-BohrenSteel ContributorMaybe you show your code - that might increase the chance that someone can acually help you