docs/main/integrations-guide/microsoft-teams-sync.mdx
Break through siloes in a mixed Mattermost and Microsoft Teams environment by forwarding real-time chat notifications from Microsoft Teams to Mattermost.
Setup starts in Microsoft Teams and ends in Mattermost.
- Name:
Mattermost MS Teams- Supported account types:
Default value (Single tenant)- Platform:
Web- Redirect URI:
https://(MM_SITE_URL)/plugins/com.mattermost.msteams-sync/oauth-redirect
Replace (MM_SITE_URL) with your Mattermost server's Site URL. Select Register to submit the form.
Chat.ReadChatMessage.ReadFiles.Read.Alloffline_accessUser.Read
Chat.Read.AllPresence.Read.All
Subscribing to chat notifications requires assocating the OAuth App with a paid Azure subscription. To complete this setup, follow the instructions at https://learn.microsoft.com/en-us/graph/metered-api-setup.
If you don't configure the metered APIs, you must use the Evaluation model (configurable in Mattermost) that is limited to a low rate of changes per month. We strongly recommend that you avoid using the Evaluation model configuration in live production environments because you can stop receiving messages due the rate limit. See this Microsoft documentation for more details.
You're all set for configuration inside Azure.
These installation instructions assume you already have a Mattermost instance running v9.8.0 (or later) and configured to use PostgreSQL. This Mattermost integration doesn't support MySQL databases.
See the Microsoft Teams plugin configuration settings documentation for additional configuration options.
<Note>You can set up performance monitoring and performance alerting for this plugin using Prometheus and Grafana.
Grafana dashboards are available on GitHub for Mattermost Cloud deployments as a useful starting point. These dashboards are designed for use in Mattermost Cloud, and filter to a given namespace.
Modifications will be necessary for self-hosted Mattermost deployments. See the Get help section below for details on how to contact us for assistance.
</Note>See the collaborate within connected microsoft teams product documentation to start receiving Microsoft Teams notifications.
We recommend updating this integration as new versions are released. Generally, updates are seamless and don't interrupt the user experience in Mattermost. Visit the Releases page for the latest release, available releases, and compatibiilty considerations.
No. Currently, only accounts with the same email addresses are allowed to be connected. Specify the email address that matches your Mattermost account.
If connecting a Mattermost account to a Microsoft Teams account with a different email address is something your workspace requires, there is an open GitHub issue for you to share your feedback.
The configured client secret, stored in the Mattermost configuration, is used for app-only access to the the Microsoft Graph API. As users connect to Microsoft Teams using the integration, the resulting access tokens are encrypted and stored in the Mattermost database to be used for access on behalf of the connected user. All communication between the integration and the Microsoft Graph API is conducted via TLS.
When notifications are enabled, chats and file attachments received by connected users will be stored as posts in the direct message channel between that user and the bot account created by the integration.
There is nothing specific to the integration that is beyond what would apply to a Mattermost instance.
There is nothing specific to the integration that is beyond what would apply to a Mattermost instance.
The integration subscribes to change notifications from the Microsoft Graph API. These change notifications inform Mattermost about new or updated chats within Microsoft Teams. Upon receipt of the change notification, the integration uses a combination of its app-only access (via the client secret) and delegated acess (via connected users) to fetch the contents of these chats and represent them appropriately within Mattermost.
Mattermost customers can open a Mattermost support case. To report a bug, please open a GitHub issue against the Mattermost for Microsoft Teams Notifications plugin repository.
For questions, feedback, and assistance, join our pubic Integrations and Apps channel on the Mattermost Community Server for assistance.