How to extract MS Teams user activity report using powershell

Copper Contributor

Dears,

I need to create a schedule PowerShell script that get from Microsoft graph the teams user activity report.

I check this post:

Microsoft Graph API for Teams User Activity https://docs.microsoft.com/en-us/graph/api/reportroot-getteamsuseractivityuserdetail?view=graph-rest... 

How to implement these steps.

Can you please explain with example.

Or you have any other workaround? 

 

Thank you in advance

2 Replies
See below reference to understand how Graph API calls can be made from PowerShell: https://docs.microsoft.com/en-us/graph/powershell/get-started
Hope it helps.
I know this is an old post, but did you come up with a script to automate Teams activity reporting?