docs/main/end-user-guide/collaborate/collaborate-within-connected-microsoft-teams.mdx
The Mattermost for Microsoft Teams integration enables you to break through siloes in a mixed Mattermost and Teams environment by forwarding real-time chat notifications from Teams to Mattermost.
<PlanAvailability slug="academy-msteams" />Your System Administrator must install and enable the Mattermost for Microsoft Teams integration and ensure support for notifications is enabled in order for you to connect your account and recieve chat notifications.
</Note>Once the integration is installed and configured by a System Administrator, you can connect your Mattermost user account to your Microsoft Teams account. You only need to complete this step once.
/msteams connect slash command, and select the resulting link.Mattermost will confirm when your account is connected.
Once you've connected your Mattermost account to your Microsoft Teams account, when you're offline or away from Microsoft Teams, any messages you receive in a chat or group chat in Microsoft Teams will display in Mattermost as a notification and include a link to open the chat in Microsoft Teams to continue the conversation. These notifications won't appear if you've been recently active in Teams.
Manage your Mattermost notification settings for the Microsoft Teams integration at any time in Settings > Plugin Preferences
<Tip>You can run the following slash commands to manage your integration settings by typing the commands into the Mattermost message text box, and selecting Send:
/msteams connect: Connect your Mattermost account to Microsoft Teams account./msteams disconnect: Disconnect your Mattermost account from Microsoft Teams account./msteams status: Show your current connection status./msteams notifications on|off: Change your current notifications settings.Chat notifications are sent in real-time whenever you're not active in Microsoft Teams and receive a chat or group chat. Mattermost uses your online status in Teams to determine if a chat notification should be delivered. Mattermost delivers notifications if you appear Away or Offline in Microsoft Teams, so the default behavior for when notifications will be delivered depends on the client you typically use to access Microsoft Teams:
In order to avoid double notifications, Mattermost won't deliver chat notifications when your availability is set to Available, Busy, Do not disturb, or Be right back in Microsoft Teams.