Microsoft Teams

The Microsoft Teams app provides out-of-the-box dashboards to monitor users, teams, channels, and permission changes.
Log types
The Teams app provides visibility into the logging that Microsoft exposes in the Office 365 Audit Logs for Microsoft Teams. Logged events are grouped into the following categories:
- User Sessions
- Teams
- Channels
- Users and Roles
For more information, see Microsoft’s list of Teams Activities.
Sample log messages
"CreationTime":"2020-10-30T14:00:51",
"Id":"e40689dc-7ea9-4f75-8fdd-8c3c9f9bf647",
"Operation":"TeamCreated",
"OrganizationId":"984e32e5-f98a-4600-aa32-27c3f948abe3",
"RecordType":25,
"UserKey":"d9d7d5ac-4d64-43df-8205-fa6f46388fcb",
"UserType":0,
"Version":1,
"Workload":"MicrosoftTeams",
"UserId":"[email protected]",
"TeamGuid":"19:[email protected]",
"TeamName":"My Team"
Sample queries
_sourceCategory="O365/General"
| json "Workload", "Operation" , "UserId" as workload, operation, email
| where workload = "MicrosoftTeams"
| count by operation
Collecting logs
This section has instructions for collecting logs for the Sumo Logic app for Teams.
Collection process overview
To collect logs for Microsoft Teams, please configure an Office 365 Audit Source. The Teams logs will be present in the “Office 365 General Logs” context. Note, that if you are already collecting logs for Office 365, you can simply make note of the source category configured for the aforementioned context.
Installing the Microsoft Teams app
This section shows you how to install the Sumo Logic app for Microsoft Teams.
To install the app, do the following:
Next-Gen App: To install or update the app, you must be an account administrator or a user with Manage Apps, Manage Monitors, Manage Fields, Manage Metric Rules, and Manage Collectors capabilities depending upon the different content types part of the app.
- Select App Catalog.
- In the 🔎 Search Apps field, run a search for your desired app, then select it.
- Click Install App.
note
Sometimes this button says Add Integration.
- Click Next in the Setup Data section.
- In the Configure section of your respective app, complete the following fields.
- Field Name. If you already have collectors and sources set up, select the configured metadata field name (eg _sourcecategory) or specify other custom metadata (eg: _collector) along with its metadata Field Value.
- Click Next. You will be redirected to the Preview & Done section.
Post-installation
Once your app is installed, it will appear in your Installed Apps folder, and dashboard panels will start to fill automatically.
Each panel slowly fills with data matching the time range query received since the panel was created. Results will not immediately be available but will be updated with full graphs and charts over time.
Viewing Microsoft Teams dashboards
All dashboards have a set of filters that you can apply to the entire dashboard. Use these filters to drill down and examine the data to a granular level.
- You can change the time range for a dashboard or panel by selecting a predefined interval from a drop-down list, choosing a recently used time range, or specifying custom dates and times. Learn more.
- You can use template variables to drill down and examine the data on a granular level. For more information, see Filtering Dashboards with Template Variables.
- Most Next-Gen apps allow you to provide the scope at the installation time and are comprised of a key (
_sourceCategory
by default) and a default value for this key. Based on your input, the app dashboards will be parameterized with a dashboard variable, allowing you to change the dataset queried by all panels. This eliminates the need to create multiple copies of the same dashboard with different queries.
Overview
The Teams - Overview dashboard provides an at-a-glance view of the state of your Teams environment in terms of user sessions, teams and channel activity, and user role changes.
Use this dashboard to:
- Identify user sessions relative to their locations.
- Report the top users creating teams and channels.
- Identify the top team bots and channels connectors being used.
- Report on the top users and objects relative to role changes.

User Sessions
The Teams - User Sessions dashboard provides an in depth view of the user logins and related statistics in your Teams environment.
Use this dashboard to:
- Identify user sessions relative to their locations and compare login statistics over time.
- Understand the client platforms and versions that are being used.
- Report on login IP addresses correlated to potential threats via Sumo Logic threat intelligence.

Team Statistics
The Teams - Team Statistics dashboard offers complete details on the Team activity occurring in your organization.
Use this dashboard to:
- Gain insight into teams being added and removed.
- Understand the team setting changes.
- Keep track of the team Bots being installed.

Channel Statistics
The Teams - Channel Statistics dashboard offers complete visibility into the Channel activity occurring in your Teams.
Use this dashboard to:
- Gain insight into the channels being added and removed.
- Understand the channel settings being modified.
- Monitor channel tab activity.
- Monitor and report on channel connectors being added and removed.

User and Role Changes
The Teams - User and Role Changes dashboard provides insight on the user and role changes being applied in your environment.
Use this dashboard to:
- Report on the users making role changes and the top object types being affected.
- Understand how members are being added, removed, and changed by object name.

Upgrading the Microsoft Teams app (optional)
To update the app, do the following:
Next-Gen App: To install or update the app, you must be an account administrator or a user with Manage Apps, Manage Monitors, Manage Fields, Manage Metric Rules, and Manage Collectors capabilities depending upon the different content types part of the app.
- Select App Catalog.
- In the Search Apps field, search for and then select your app.
Optionally, you can identify apps that can be upgraded in the Upgrade available section. - To upgrade the app, select Upgrade from the Manage dropdown.
- If the upgrade does not have any configuration or property changes, you will be redirected to the Preview & Done section.
- If the upgrade has any configuration or property changes, you will be redirected to the Setup Data page.
- In the Configure section of your respective app, complete the following fields.
- Field Name. If you already have collectors and sources set up, select the configured metadata field name (eg _sourcecategory) or specify other custom metadata (eg: _collector) along with its metadata Field Value.
- Click Next. You will be redirected to the Preview & Done section.
Post-update
Your upgraded app will be installed in the Installed Apps folder and dashboard panels will start to fill automatically.
See our Release Notes changelog for new updates in the app.
To revert the app to a previous version, do the following:
- Select App Catalog.
- In the Search Apps field, search for and then select your app.
- To version down the app, select Revert to < previous version of your app > from the Manage dropdown.
Uninstalling the Microsoft Teams app (optional)
To uninstall the app, do the following:
- Select App Catalog.
- In the 🔎 Search Apps field, run a search for your desired app, then select it.
- Click Uninstall.