Get Teams Usage Report data via API

Anonymous
2021-09-13T05:52:21+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:

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:

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 | Microsoft Teams for business | Teams and channels | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-09-13T21:05:37+00:00

    Hi Dikesh,

    Greetings.

    Thank you for raising your concern in this community.

    Normally the only get results in the CSV format, but could please have a look at this article and let me see what you get.

    reportRoot: getTeamsUserActivityUserDetail - Microsoft Graph v1.0 | Microsoft Docs

    I will be waiting for your feedback.

    Regards,

    Mac

    0 comments No comments
  2. Anonymous
    2021-09-14T11:52:14+00:00

    Hi Mac,

    Thanks for the quick response. I have checked this Graph API query but this returns MSTeams user activity. I want Teams related usage activity. I want the output same as provided in question.

    0 comments No comments