12Knocksinna / Office365itpros

Office 365 for IT Pros PowerShell examples
MIT License
1.28k stars 567 forks source link

TeamsGroupsActivityReportV5 Is it possible to get the GroupID in the HTML/CSV reports #35

Closed dspooren closed 3 years ago

dspooren commented 3 years ago

I am able to run the report without any problems. I would like to get a unique ID (i.e. GroupID) to make sure we can use the list for a Teams bulk operation (delete / archive) . Is it possible to add this to the script?

dspooren commented 3 years ago

Fixed by adding: GroupID = $G.ObjectId