Forum Discussion
oskarkuus
Apr 26, 2023Brass Contributor
How to get last activity on all teams in my tenant?
Is it possible to get the last activity in a team from all teams in my tenant. I want this to determin what teams have not been active in a specific amount of days, so i can do some clean up work. ...
VasilMichev
Apr 26, 2023MVP
The report is your best option. Other than that, you can query each team for any "signs" of activity, but that usually involves calls against multiple APIs. Here's an example script: https://office365itpros.com/2022/03/14/microsoft-365-groups-teams-activity-report/
oskarkuus
Apr 26, 2023Brass Contributor
To bad the report then only go back 180 days. I wont detect dead teams that are a year old as i understand it.