Please expose teams usage report as Graph API from
Teams Admin Center > Reports > Teams usage report
Alternatively please add a new endpoint (e.g./Teams/{TeamId}/Usage) which returns data like
- Last Activity
- Post messages
- Reply messages
- Channel Messages
- Urgent messages
- Active channels
- Active users
- Guests
Usecase:
- Users want to identify teams that have not been used for more than 6 month to archive them.
- Users want to identify teams that are used the most in their tenant.
- Users want to identify teams with the highest active user count.