question

DikeshGandhi-7984 avatar image
0 Votes"
DikeshGandhi-7984 asked PrithviKamble-MSFT-9239 commented

Get Teams Usage Report data via API

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.



office-teams-app-devmicrosoft-graph-teamwork
8srss.png (62.7 KiB)
siu63.png (22.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PrithviKamble-MSFT-9239 avatar image
0 Votes"
PrithviKamble-MSFT-9239 answered PrithviKamble-MSFT-9239 commented
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @PrithviKamble-MSFT-9239 ,

Thanks for the quick response. But the API you provided returns the results related to Office 365 group. We need the results related to Teams.

Please see the CSV screenshot I have attached in question. It provides consolidated result of Teams that comes under selected days range. We would like to get the same Teams activity results but programmatically. So, we could use it further in our custom dashboard.

0 Votes 0 ·

Hi @DikeshGandhi-7984 ,
The above mentioned API will return results for teams groups also. However it returns limited set of fields in response and does not include all fields from report we get in admin center. Can you check once if it fulfills the requirements ? Also we did not get any API that will return the exact results like we get in report. Let me know if you have further queries.



Thanks

0 Votes 0 ·