Forum Discussion
Microsoft Teams Devices Report
How to pull the Microsoft Teams devices report using Power Shell command?
4 Replies
If you are referring to the Teams device usage report in the M365 admin center, you can get the data via Get-MgReportTeamDeviceUsageUserDetail. If you are referring to the reports available in the Teams admin center, there is no supported method to fetch those programmatically. Doesn't mean it's not possible, but it's a bit more involved than running a single cmdlet: https://www.michev.info/blog/post/6103/how-to-fetch-data-for-reports-microsoft-is-yet-to-provide-graph-api-endpoints-for
- MurugananthamDCopper Contributor
Thanks VasilMichev will check on this!!
Hi MurugananthamD ,
Have you checked out the following Microsoft graph commands,
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.teams/get-mgbetateamworkdevice?view=graph-powershell-beta
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.teams/get-mgbetateamworkdeviceactivity?view=graph-powershell-beta
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.teams/get-mgbetateamworkdeviceconfiguration?view=graph-powershell-beta- MurugananthamDCopper Contributor
Thanks GuidovanDijk will check on this!!