Microsoft 365 Teams API poller template
Use this SAM API poller template to monitor web, Mac, Windows, iOS, Windows Phone, and Android Phone user activity and device usage statistics for Microsoft 365 Teams.
Prerequisites
-
Configure OAuth 2.0 Azure credentials with the following scope:
https://graph.microsoft.com/.default
. -
Credentials have Reports.Read.All permission (Type: Application) for the Microsoft Graph API.
-
See also API poller authorization and Find Microsoft Azure credentials.
Notes
- Default thresholds are not set for this template.
- Data is polled once per day.
- This template is based on the Microsoft Graph API reference (© 2020 Microsoft Corp., available at docs.microsoft.com.
- Here is an API request example:
https://graph.microsoft.com/beta/reports/getTeamsDeviceUsageUserCounts(period='D7')?$format=application/json
Available metric
- Web Usage - User Count
- Mac Usage - User Count
- Windows Usage - User Count
- iOS Usage - User Count
- Windows Phone Usage - User Count
- Android Phone Usage - User Count