Forum Discussion

GhassSd's avatar
GhassSd
Copper Contributor
Mar 15, 2021

How to extract MS Teams user activity report using powershell

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-1.0 

How to implement these steps.

Can you please explain with example.

Or you have any other workaround? 

 

Thank you in advance

2 Replies

  • Ukiman1014's avatar
    Ukiman1014
    Brass Contributor
    I know this is an old post, but did you come up with a script to automate Teams activity reporting?
  • 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.

Resources