# Configuration guide: Microsoft Teams - Stability and compliance

## Overview <a href="#configurationguide-outlook-stabilityandcompliance-overview" id="configurationguide-outlook-stabilityandcompliance-overview"></a>

For many companies, Microsoft Teams has become an essential tool for communication and collaboration both between employees and with third parties. It is imperative, therefore, that IT teams are able to monitor the status of this application across the organization, in terms of performance, stability, adoption, and network connectivity

## Pre-requisites

This library pack contains some widgets that are dependent on [Connections data](https://docs.nexthink.com/platform/solutions/application-connectivity-troubleshooting)

{% hint style="info" %}
Note: Connections events are only available for devices with Collectors that report 'Infinity only'.
{% endhint %}

## Content and dependencies <a href="#configurationguide-outlook-stabilityandcompliance-contentanddependencies" id="configurationguide-outlook-stabilityandcompliance-contentanddependencies"></a>

This library pack contains the following content and dependencies:

| Type                        | Name                                                  | Description                                                                                                                                                           | Dependencies                                                                                                                                                       |
| --------------------------- | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Live dashboards**         | MS Teams - Stability and compliance                   | Provides visibility over key performance, adoption, and compliance data points from the Teams landscape                                                               |                                                                                                                                                                    |
| **Remote actions**          | Get Microsoft Teams client status                     | Retrieves the installation status of MS Teams as well as the client version and the number of months since the last update.                                           | Required to populate specific dashboard widgets.                                                                                                                   |
|                             | Clear Microsoft Teams Cache                           | Closes Microsoft Teams Work or School if it is open and deletes the cache files.                                                                                      |                                                                                                                                                                    |
|                             | Reinstall Microsoft Teams Windows                     | Downloads and installs the latest version of Microsoft Teams on all targeted devices                                                                                  |                                                                                                                                                                    |
|                             | Reinstall Microsoft Teams macOS                       | Downloads and installs the latest version of Microsoft Teams on all targeted devices                                                                                  |                                                                                                                                                                    |
| **Remote action campaigns** | Close Microsoft Teams (short maintenance) - Invoke    | Asks users if they agree to have MS Teams closed for maintenance. If they agree, the Clear cache remote action will be triggered                                      | Required to include a notification with the "Clear Microsoft Teams Work or School cache" remote action.                                                            |
|                             | Close Microsoft Teams (short maintenance) - Completed | Informs users that the MS Teams maintenance is complete and can be reopened. It will appear after the remote action is successful.                                    | Required to include a notification with the "Clear Microsoft Teams Work or School cache" remote action.                                                            |
|                             | Reinstall Microsoft Teams - Invoke                    | Asks users if they agree to have MS Teams reinstalled for maintenance. If they agree, the remote action will trigger to close MS Teams and reinstall the application. | Required to include a notification with the "Reinstall Microsoft Teams Work or School Windows" and “Reinstall Microsoft Teams Work or School macOS” remote actions |
|                             | Reinstall Microsoft Teams - Completed                 | Informs users that MS Teams has been re-installed and can be restarted. It will appear after the remote action is successful.                                         | Required to include a notification with the "Reinstall Microsoft Teams Work or School Windows" and “Reinstall Microsoft Teams Work or School macOS” remote actions |

## **Configuration guide** <a href="#configurationguide-outlook-stabilityandcompliance-configurationguide" id="configurationguide-outlook-stabilityandcompliance-configurationguide"></a>

To effectively use this library pack, the content must be installed and configured appropriately. Below are some suggested steps to install and configure the content properly before use.

### **Step 1) Install library pack content** <a href="#configurationguide-outlook-stabilityandcompliance-step1-installlibrarypackcontent" id="configurationguide-outlook-stabilityandcompliance-step1-installlibrarypackcontent"></a>

Go to the [Nexthink Library ](https://nexthink.gitbook.io/opd/user-guide/nexthink-library)and install all required content.

### **Step 2) Configure remote action(s)** <a href="#configurationguide-outlook-stabilityandcompliance-step2-configureremoteaction-s" id="configurationguide-outlook-stabilityandcompliance-step2-configureremoteaction-s"></a>

Navigate to the[ manage remote action](https://nexthink.gitbook.io/opd/user-guide/remote-actions/managing-remote-actions) administration page to review and edit your remote actions.

We recommend the following configurations for these remote actions:

<table><thead><tr><th>Name</th><th>Trigger</th><th width="196">Schedule query</th><th>Parameters to edit</th></tr></thead><tbody><tr><td>Get Microsoft Teams client status</td><td>Scheduled, weekly</td><td><pre data-title="Code" data-line-numbers><code>devices
| with execution.events
| where binary.product_name = "Microsoft Teams (work or school)" or (binary.product_name ="Microsoft Teams" and device.operating_system.platform = windows and binary.version >= v24102.2223.2870.9480) or (binary.product_name ="Microsoft Teams" and device.operating_system.platform = macos and binary.version >= v24102.2214.2869.7475)
</code></pre></td><td></td></tr><tr><td>Clear Microsoft Teams Cache</td><td>Manual, can be triggered on multiple devices</td><td></td><td></td></tr><tr><td>Reinstall Microsoft Teams Windows</td><td>Manual, can be triggered on multiple devices</td><td></td><td></td></tr><tr><td>Reinstall Microsoft Teams macOS</td><td>Manual, can be triggered on multiple devices</td><td></td><td></td></tr></tbody></table>

### **Step 3) Edit campaigns** <a href="#configurationguide-outlook-stabilityandcompliance-step3-editcampaigns" id="configurationguide-outlook-stabilityandcompliance-step3-editcampaigns"></a>

Navigate to the [manage campaigns ](https://nexthink.gitbook.io/opd/user-guide/campaigns/managing-campaigns)administration page to review and edit your campaigns.

For each installed campaign, please ensure to:

* Customize the sender name and image.
* Review and adjust questions.
* Publish the campaign when you are ready to use it.

We recommend the following configurations for these campaigns:

| Name                                                  | Trigger       | Priority   |
| ----------------------------------------------------- | ------------- | ---------- |
| Close Microsoft Teams (short maintenance) - Invoke    | Remote action | Not urgent |
| Close Microsoft Teams (short maintenance) - Completed | Remote action | Not urgent |
| Reinstall Microsoft Teams - Invoke                    | Remote action | Not urgent |
| Reinstall Microsoft Teams - Completed                 | Remote action | Not urgent |

## Usage <a href="#configurationguide-outlook-stabilityandcompliance-usage" id="configurationguide-outlook-stabilityandcompliance-usage"></a>

To know more about how this dashboard should be used, please refer to the Usage Guide:

[Usage guide: Micosoft Teams - Stability and compliance](/platform/library-packs/collaboration-and-productivity-applications/microsoft-teams-stability-and-compliance.md)

***

## Related Topics

[Collaboration Experience](https://docs.nexthink.com/platform/user-guide/collaboration-experience)

[Live dashboards](https://docs.nexthink.com/platform/user-guide/live-dashboards)

[Remote actions](https://docs.nexthink.com/platform/user-guide/remote-actions)

[Campaigns](https://docs.nexthink.com/platform/user-guide/campaigns)

[Connections data](https://docs.nexthink.com/platform/solutions/application-connectivity-troubleshooting#applicationconnectivitytroubleshooting-connectionsdataconnectiondatatrue)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/library-packs/collaboration-and-productivity-applications/microsoft-teams-stability-and-compliance/configuration-guide-microsoft-teams-stability-and-compliance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
