Hi Team,
I am currently working on generating a report of terminated users for the past seven days, which I would like to distribute to a designated group of individuals.
One approach I am considering is developing a PowerShell script that utilizes the ISC query to generate the report, convert it to JSON format, and then email it to the distribution list. I am unsure if this is feasible, but I believe it could streamline the process.
I would greatly appreciate any insights or guidance you could provide on this idea. Thank you for your assistance!
Catch is user needs to have at least Report admin access to download or accessing the report, which we are trying to avoid to give to a bunch of people!
@Prashanth0707 you can write a powershell code for searching and exporting it to csv below code you can refer .if it helps you can mark it as solution.
Thanks
Shantanu search export new.txt (2.7 KB)