Get Teams Usage Report data via API

Dikesh Gandhi 21 Reputation points
2021-09-13T12:14:59.717+00:00

We have a requirement to gather and show teams usage data in our custom admin dashboard. We want to identify if which teams are not active since last 7, 30, 90 days.

In Microsoft Teams Admin center, there is this report "Teams Usage" - admin can generate and download CSV report. Please see the screenshot below:

131540-8srss.png

And the CSV report output has number of guests, reply messages, active users, active chats, meetings, mentioned etc. And it will look like as below:

131588-siu63.png

We want to use this output in our dashboard. The above report admin can generate but it's a manual process. I couldn't find any way or API to get this data programmatically.

So my question is: Is there any way to export and get this report output data programmatically? If Yes, then guide me towards it.

Microsoft Teams Development
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prithvi-MSFT 271 Reputation points Microsoft External Staff
    2021-09-14T14:16:02.793+00:00

    Hi @DikeshGandhi-7984 ,
    You can refer below api to get usage details for office 365 groups.
    https://learn.microsoft.com/en-us/graph/api/reportroot-getoffice365groupsactivitydetail?view=graph-rest-1.0

    Thanks

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.