Microsoft Office 365 Teams
This template shows information about Office 365 Teams and includes the following component monitors:
- Number of Calls
- Number of Meetings
- Number of Chat Messages
- Number of daily users by device type
- Web
- Windows Phone and Windows
- Android Phone
- iOS
- Mac
Portions of this topic are based on Overview of Microsoft Graph and Working with Office 365 usage reports in Microsoft Graph (© 2019 Microsoft Corp., available at https://docs.microsoft.com, obtained on May 8, 2019).
Prerequisites
Install PSMSGraph PowerShell module and configure client in Azure AD. See Integrate Office 365 templates with Microsoft Graph in SAM.
Configure the PSMSGraph PowerShell module to collect the following values to pass as arguments to monitors in the following format/precedence: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Credentials
- An Orion account with SAM administrator permissions.
- An all-in-one, inclusive Office 365 account with Global Administrator privileges.
Alternatively, use an account with an admin role that has permission to access data to be monitored via the Office 365 API.
Use UPN format (username@domain
) — not domain\username
format to enter credentials.
To avoid authentication issues if passwords change, use a service account.
User has privileges to pass credentials as arguments to monitors.
Component monitors
Number of Calls
Get the number of Microsoft Teams activities.
The activity types value given is calls.
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Meetings
Get the number of Microsoft Teams activities.
The activity types value given is Meetings.
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Chat Messages
Get the number of Microsoft Teams activities.
The activity types value given is Chat Message (Private + team)
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Daily Web User
Get the number of Microsoft Teams daily unique Web users
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Daily Windows User
Get the number of Microsoft Teams daily unique Windows users (Windows Device+ Windows Phone)
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Daily Android Phone User
Get the number of Microsoft Teams daily unique Android Phone users
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Daily iOS User
Get the number of Microsoft Teams daily unique iOS users
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number
Number of Daily Mac User
Get the number of Microsoft Teams daily unique Mac users
Argument: Client ID, Tenant ID, Client Password
Format: client_id=<Value>, TenantID=<Value>, client_secret=<Value>
Statistic Unit: Number