Mattermost and Microsoft Teams Meetings integration

Start and join Teams meetings from self-hosted Mattermost channels by registering a single-tenant Azure app, granting OnlineMeetings.ReadWrite with admin consent and installing the plugin.

On this page

How Mattermost starts and joins Teams meetings from channels

Teams meetings from Mattermost let a user start or join a Microsoft Teams voice or video call, with screen sharing, from a Mattermost channel or direct message, without leaving chat. The integration runs as the Microsoft Teams Meetings plugin on your self-hosted server, and it authenticates to Microsoft through an Azure app registration that you create and own. This section explains how that flow works and where it sits in your plan decisions. It does not cover forwarding Microsoft Teams chat notifications into Mattermost, which is a separate integration with its own Entra ID setup.

Plan availability is the first check. Mattermost documents the Microsoft Teams Meetings integration on the Entry, Professional, Enterprise and Enterprise Advanced plans, so confirm your subscription tier with Mattermost before you plan the rollout. Calls are user-level: each person who starts a meeting signs in with their own Microsoft account through the OAuth flow, and the meeting is created in that user's Teams context. Confirm with your Microsoft 365 administrator which users are licensed to host Teams meetings, because a Mattermost user without a suitable Teams license cannot expect the meeting to behave like a native Teams invitation.

Plan the Azure side before you touch the server. The app registration needs a redirect URI built from your MM_SITE_URL value, a client secret, the delegated Microsoft Graph permission OnlineMeetings.ReadWrite, and admin consent. Because the redirect URI is derived from the public site URL, any later change to that URL means updating the app registration too. Decide who will own the client secret and its renewal date, since an expired secret stops meeting creation for every user at once.

What you need before registering the Azure app

Five items must be in place before anyone opens the Azure portal: a Mattermost plan that includes the integration, a server you can administer, an Entra tenant with the right administrator, a stable public site URL, and a working HTTPS and outbound network path. Getting these right first prevents redirect and consent failures that are slow to diagnose later.

Mattermost plan and server access

The Microsoft Teams Meetings integration is available on the Entry, Professional, Enterprise and Enterprise Advanced plans, so confirm your plan with your Mattermost account team before planning the work. You also need system admin access to the server to install the plugin and enter the Azure client ID and secret. Confirm the current plugin version and Mattermost server version in the vendor docs, because plugin requirements can change between server releases.

Teams Meetings docs

Entra tenant and app registration rights

Identify the Microsoft Entra ID tenant that holds your Teams meetings, and confirm who can register applications and grant admin consent in it. Registering the app and consenting to the delegated Graph permission are usually separate steps, so the person doing the registration may need a second administrator to approve the permission. Agree on that owner before the change window opens.

Public site URL matching MM_SITE_URL

The redirect URI is built from your site URL, so the Azure registration must use the exact value of MM_SITE_URL as the server is configured. Check the scheme, host, port and any trailing slash, and confirm the value is the one users open in their browsers rather than an internal hostname. A mismatch is the most common reason the OAuth sign-in step fails.

HTTPS certificate and trusted chain

The site must be served over HTTPS with a certificate that Microsoft's sign-in flow and the Mattermost browser client both trust. Confirm the certificate covers the site hostname, is not expired, and includes its full chain, including any internal certificate authority used in your environment. Plan renewal ownership now, since an expired certificate breaks the OAuth callback.

Outbound network path to Microsoft

The Mattermost server must reach Microsoft sign-in and Microsoft Graph endpoints over outbound HTTPS, and users' browsers must reach the same sign-in pages. Ask your network team to confirm proxy rules, firewall egress and DNS resolution from the application nodes, not only from a workstation. Microsoft lists the current endpoint addresses in its own documentation, which your network team should review rather than relying on older lists.

Configuring the Azure app, consent and plugin in order

This sequence builds the Microsoft Entra side first, then the Mattermost plugin that depends on it, so that a user can start and join a Teams meeting from a channel. Each step closes with a check, so a failure is caught at the point where it occurs.

  1. Create the single-tenant app registration

    In the Microsoft Entra admin center, a administrator registers a new application and sets its supported account type to single tenant, so only your own directory can sign in. Record the application (client) ID and the directory (tenant) ID, because the plugin asks for both later. Check that the app appears in App registrations with a single-tenant account type and that both IDs are copied to a secure location for the next steps.

  2. Set the redirect URI for the plugin

    Under the app's Authentication settings, add a web redirect URI of https://<MM_SITE_URL>/plugins/com.mattermost.msteamsmeetings/oauth2/complete, replacing the placeholder with your Mattermost site URL exactly as users type it in the browser. Use the same scheme and host as the Mattermost Site URL setting, because a mismatch will cause the OAuth sign-in to fail. Check that the URI is listed under Web redirect URIs and that it matches the Site URL in System Console.

  3. Create a client secret

    Under Certificates and secrets, create a new client secret and copy its value immediately, since the value is shown only once. Store it in your secrets manager, not in a shared document or chat channel. Record the expiry date that Entra displays so that the renewal is scheduled before the secret lapses. Check that the secret appears in the list with a value you have saved to the secrets manager.

  4. Add the delegated Graph permission

    Under API permissions, add a Microsoft Graph delegated permission named OnlineMeetings.ReadWrite. Do not choose an application permission for this step, because the Mattermost integration acts on behalf of each signed-in user. Check that the permission is listed with the type Delegated and that its status is awaiting admin consent.

  5. Grant admin consent

    A user with sufficient rights in the Microsoft Entra tenant selects Grant admin consent for the directory, then confirms the action. Without this consent, individual users are blocked at sign-in, so this step is performed by an administrator rather than by each user. Check that the status column shows Granted for your tenant before you move on.

  6. Install the plugin from the App Marketplace

    In Mattermost System Console, open Plugin Management, then install the Microsoft Teams Meetings plugin from the App Marketplace. Confirm that the plugin is installed and enabled, and that your deployment is on a plan that includes the integration. Check that the plugin shows as enabled in the plugin list and that its settings page opens without errors.

  7. Enter the tenant and client credentials

    In the plugin settings, enter the tenant ID, the client ID and the client secret from the earlier steps, then save the configuration. Keep the secret value restricted to administrators, since anyone with access to the plugin settings can see the configured fields. Check that the settings save without a validation error and that the plugin reports itself as configured.

  8. Test a start and join from a channel

    Sign in as a test user who belongs to a channel, connect the Microsoft account when prompted, then start a meeting from the channel and join it from a second account. Confirm that the meeting opens in Teams, that audio and video work, and that the second account can join the same meeting. Check that both steps complete and record any consent or sign-in errors so that the redirect URI and permissions can be rechecked.

The OAuth consent flow crosses the trust boundary only at Entra ID and Graph

The flow starts when a user picks a Teams meeting action in a Mattermost channel. The plugin sends the user to Microsoft Entra ID to request the OnlineMeetings.ReadWrite delegated permission, either as the user's own consent or as an admin's pre-consent. Entra ID returns an authorization code to the plugin's redirect URI on your Mattermost site, and the plugin exchanges that code, with the client secret, for tokens. Check the redirect URI, the admin consent state and where the client secret is stored, because those are the hand-offs that most often fail. The boundary sits between your Mattermost server and the Microsoft cloud.

Token exchange and meeting creation between the Mattermost plugin and Microsoft cloud.

Why OnlineMeetings.ReadWrite is delegated and what it lets users do

The OnlineMeetings.ReadWrite permission is delegated, so every Teams meeting created from Mattermost is created as the person who is signed in, not as a shared service identity. The Graph call runs under that user's own Microsoft 365 account, which means the meeting owner, its organizer settings and its recording rights follow that person's Teams licensing and policies. A user who cannot schedule a Teams meeting in Microsoft 365 will not be able to start one from a Mattermost channel either, and a user who can will get a meeting attributed to them. Plan for that outcome before rollout, because the effect is on individual users rather than on the Mattermost server. Confirm with your Microsoft 365 administrator which users have Teams meeting capability and whether any tenant policies restrict meeting creation or lobby behavior.

Admin consent is the control point. Granting the delegated permission in the Azure app registration is a tenant-level decision that allows the app to act on behalf of any signed-in user who completes the sign-in flow, so the consent should be given by an administrator who understands which users will be able to use the integration. Review the app's permission list, the client secret lifetime and the redirect URI, which must match the MM_SITE_URL of your server exactly. Document who approved the consent and when, since your security reviewers will likely ask for that record.

Before granting the scope, check the exact name and wording of OnlineMeetings.ReadWrite against Microsoft's current Microsoft Graph permissions reference, because Graph permission names, the delegated and application variants, and the admin consent requirements change over time. Also confirm which Graph operations the plugin calls and whether Microsoft has changed the consent experience for your tenant. The Mattermost Teams Meetings documentation is the authoritative starting point for the setup steps and should be read alongside Microsoft's own reference, not in place of it.

Which Mattermost and Entra ID values must match

This table maps each Mattermost setting to the Entra ID value it must agree with, and to the plugin field where it is entered. Read it before you register the app, because a mismatch in the site URL or the user email usually shows up as a failed sign-in or a meeting that cannot be created.

Mattermost or Entra valueMust match or feedWhere it is setWhat to confirm
Mattermost site URLRedirect URI host and path in the Azure app registrationMattermost site URL setting, then the Entra redirect URIThe URL uses https and matches the public address users type into their browser, with no trailing mismatch
Mattermost user emailEmail of the Entra ID user account that makes the Graph call for meetingsMattermost user profile, Entra ID user principal or mail attributeWhether the two systems use the same address for each user, especially where aliases or domain changes exist
Directory (tenant) IDTenant of the Azure app registrationPlugin settings in the Mattermost System ConsoleThe ID copied is for the tenant that hosts the users who will start meetings
Application (client) IDThe registered app that holds the redirect URI and permissionsPlugin settings in the Mattermost System ConsoleThe client ID belongs to the single-tenant app you registered, not a copy from another project
Client secret valueCredential Entra ID issues to the app for the OAuth flowSecret field in the plugin settingsThe secret is stored only in the plugin field and tracked for expiry in your secret management process
OnlineMeetings.ReadWrite (delegated)The permission used when a user starts or joins a meeting from a channelEntra ID API permissions, with admin consent grantedConsent status shows granted for the tenant, and the permission is delegated rather than application

Securing the app registration, secret and consent

The Azure app registration, its client secret and the admin consent for OnlineMeetings.ReadWrite together decide who can start Teams meetings from your Mattermost server. Each control below narrows one of those trust points, and the Mattermost server itself is the last link to keep current.

Scope the registration to one tenant

Register the app as single-tenant so only your Microsoft Entra ID directory can sign in and consent to it. Confirm the supported account type in the registration before you add the redirect URI, because changing it later affects how sign-in works. Record the tenant ID, application ID and the exact MM_SITE_URL value in your change record so a reviewer can trace which directory the plugin trusts.

Teams Meetings docs

Rotate and store the client secret

The client secret is a credential that lets the plugin act for the connected user, so treat it like a password. Store it in your organization's secrets manager and enter it into the plugin settings only, never in a channel, a ticket or a shared document. Ask Microsoft and Mattermost for the current secret lifetime and rotation procedure, then schedule rotation and test the new value before the old one expires.

Limit who can install the plugin

Installing a plugin from the App Marketplace is a system admin action, so restrict System Console access to a small named group. Confirm in your own environment which roles can change plugin settings and whether your Mattermost version lets you restrict plugin management further. Review the plugin list after every upgrade so an unexpected install or re-enable is caught early.

Review the admin consent scope

Admin consent grants the tenant-wide approval for the delegated OnlineMeetings.ReadWrite permission, so read the consent screen before approving it. Confirm that the permission is delegated rather than application-level, since delegated access acts only for signed-in users. Keep a record of who granted consent, when, and which permissions were approved, and re-review consent whenever the permission list changes.

Restrict outbound egress from the server

The Mattermost server needs outbound HTTPS to Microsoft sign-in and Graph endpoints to create and join meetings. Allow only those destinations from the Mattermost network segment and log denied connections. Confirm the exact endpoint list with Microsoft documentation and your network team, since it can change, and test meeting creation after each firewall or proxy change.

Keep the Mattermost server patched

The plugin runs inside the Mattermost server, so an unpatched server exposes the OAuth flow and stored tokens to any server flaw. Follow the monthly binary release cadence and plan upgrades on Extended Support Releases where your policy requires them. Check the plugin's compatibility with the target server version before upgrading, and confirm support windows on the release page.

Monthly binary release day
16th
Server releases page

Why the Teams button fails after setup

This table lists the six most common reasons the Teams Meetings button fails after setup, with the cause and fix for each. Check the rows in order, since the redirect URI and admin consent are the usual first suspects. Most failures trace to a configuration mismatch between Mattermost, Entra ID and the user's account rather than to the platform itself.

FailureLikely causeFix
Redirect URI mismatchMM_SITE_URL differs from the site address users open, such as a missing https, a trailing path or an old hostname, so the OAuth redirect does not match the Azure registration.Set MM_SITE_URL to the exact public address, then make the Azure redirect URI match https://<MM_SITE_URL>/plugins/com.mattermost.msteamsmeetings/oauth2/complete character for character.
Admin consent missingThe delegated OnlineMeetings.ReadWrite permission was added in Entra ID but a tenant administrator never granted consent, so user sign-in cannot complete.Have a tenant administrator grant admin consent for the app registration and confirm the permission shows as granted in the API permissions blade.
Client secret expired or miscopiedThe secret reached its expiry date in Entra ID, or the value was copied from the wrong field (the secret ID instead of the value) or with stray spaces.Create a new client secret, record its expiry date in your calendar, paste the value into the plugin settings, and save before testing again.
Email does not match Entra accountThe Mattermost user's email address differs from the user's Entra ID sign-in identity, so the Teams account cannot be matched to the Mattermost user.Align the Mattermost email with the Entra UPN or primary email for each user, then have the user disconnect and reconnect the Teams account from their profile settings.
Plan lacks the featureThe Teams Meetings integration is documented for the Entry, Professional, Enterprise and Enterprise Advanced plans, so the server must be on a licensed plan that includes it.Confirm the license tier in the System Console and with Mattermost sales before troubleshooting further. Ask the vendor to confirm the entitlement for your exact plan.
Blocked outbound trafficThe Mattermost server cannot reach Microsoft sign-in or Graph endpoints because of a firewall, proxy or egress rule, so token exchange and meeting creation time out.Test outbound HTTPS from the Mattermost server to Microsoft login and Graph endpoints, add the required egress rules or proxy settings, and check the server logs for connection errors.

Questions buyers ask before setting up Teams meetings in Mattermost

Can our own team set up the Microsoft Teams Meetings integration without outside help?

Yes, if you have someone comfortable in both the Microsoft Entra admin center and the Mattermost System Console. The setup is a fixed sequence: register an app in Azure, create a client secret, add the delegated Microsoft Graph permission OnlineMeetings.ReadWrite, grant admin consent, then install the plugin from the App Marketplace and enter the app details. The steps are not large, but each one needs an admin with the right rights, and the redirect URI must match your Mattermost site URL exactly. Teams that already run Entra ID and Mattermost administration often handle it in-house. Teams without a clear owner on the Microsoft side are the ones that stall.

What actually drives the effort for a Teams Meetings setup?

Most of the effort comes from approvals and policy, not from configuration. The main drivers are:

  • Tenant policy: whether your Entra tenant allows app registrations and secrets for your staff.
  • Consent approvals: whether an administrator can grant admin consent for the Graph permission, or whether it must go through a change process.
  • Email matching: users need matching email addresses across Mattermost and Microsoft 365, or meetings will not map to the right accounts.
  • Plan level: the integration is available on the Entry, Professional, Enterprise and Enterprise Advanced plans, so confirm your current subscription covers it before planning.

A setup with clean approvals and aligned identities moves quickly. Delays usually trace back to one of these four items.

Do we need a partner to set up Microsoft Teams Meetings in Mattermost?

A partner is optional. You need one only if your internal teams lack Entra or Mattermost administration capacity, or if the change must be documented for an assessment. DeployOpen plans, implements and documents self-hosted open-source platforms in infrastructure you control, so it can run the setup, prepare the configuration record and test the meeting flow with your admins. Any engagement is fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts, and a quote follows from that written scope. Ask any provider to confirm which Entra and Mattermost tasks they will perform and which stay with your staff.

What do the Entra and Mattermost administrators need to provide?

Your Entra administrator needs rights to register an application, create a client secret, add the delegated Graph permission OnlineMeetings.ReadWrite and grant admin consent. Your Mattermost administrator needs System Console access to install the plugin from the App Marketplace and enter the Azure details. Both need the exact public site URL of your Mattermost server, because the redirect URI is built from it as https://<MM_SITE_URL>/plugins/com.mattermost.msteamsmeetings/oauth2/complete. Agree before starting who owns the client secret, when it expires and where it is recorded, since a secret that lapses will break meeting creation for every user.

Does the Teams Meetings integration work in air-gapped sites?

Confirm this before you plan. The integration calls Microsoft Graph and Microsoft Teams, so it depends on network paths from your Mattermost server and your users' browsers to Microsoft cloud services. An air-gapped network that blocks those paths cannot use the integration as documented. Mattermost lists air-gapped deployment under Enterprise Advanced, and its deployment planning guide has a separate starting point for air-gapped and compliance-framework environments. Ask your Mattermost contact and your Microsoft representative to confirm the endpoints, egress rules and whether any approved proxy path is acceptable to your security team.

How do Mattermost upgrades affect the Teams Meetings plugin?

Plugins are separate from the server binary, so each server upgrade can change compatibility with the plugin version you run. Mattermost releases server versions monthly on the 16th, and Extended Support Releases follow a longer cycle. Before any server upgrade, check the plugin's compatibility notes, test the meeting flow in a staging environment that mirrors your site URL and redirect URI, and record the Azure app settings so they can be restored. Plan the upgrade alongside the plugin update, not after it. Include re-testing of the OAuth sign-in, because token or consent issues often appear only after an upgrade.

Who pays for ongoing Teams Meetings support after setup?

Setup is usually a one-time effort, but some costs recur. Your Microsoft 365 licensing, your Mattermost subscription (which is a prepaid annual subscription based on seat licenses, with pricing available only from contact sales) and the internal time to rotate the client secret and review consent all continue. Ask any quote to split one-time configuration from recurring items such as secret rotation, plugin updates and retesting after server upgrades. Ongoing support can also be handled through a retainer if your team prefers not to own those checks.

How DeployOpen scopes the Teams meetings integration

A fixed-scope engagement for this integration starts by writing down four things before any tenant setting changes: the Microsoft Entra tenant the app registration will live in, the Mattermost site URL that the redirect URI will be built from, the plan level the organization holds, and the list of test users who will start and join a meeting. The site URL matters most. The redirect URI must match MM_SITE_URL exactly, so DeployOpen records the final public address in the scope document and confirms it with the client before the Azure app is created. The plan check is equally concrete. The Teams Meetings integration is documented as available on the Entry, Professional, Enterprise and Enterprise Advanced plans, so the scope states which plan is licensed and confirms that against the current Mattermost pricing page and the client's contract, rather than assuming it.

The consent path is the part most likely to stall work, so the scope names who grants admin consent for the delegated OnlineMeetings.ReadWrite permission and when. The client's Entra administrator signs in for the app registration, creates the client secret, and records its expiry date in the scope document so renewal is planned rather than discovered. Acceptance steps are written as observable outcomes: a test user connects their account through the plugin, starts a Teams meeting from a test channel, shares a screen, and another test user joins from Mattermost. Each step has a named owner and a pass condition. The client provides admin access to Entra and Mattermost, a dedicated test channel, and named test accounts. DeployOpen provides the configuration record and retest notes. Confirm with the vendor documentation before signing which admin roles and client secret lifetime your tenant policy allows.

How DeployOpen works on this

DeployOpen plans, builds, tests and documents the Microsoft Teams Meetings integration inside your own Mattermost environment, so your identity, Azure tenant and admin controls stay under your governance. The work follows a written scope agreed before any configuration begins, and ongoing support is available as a retainer.

How we scope

  • Confirm your Mattermost plan, since the Teams Meetings integration is listed for Entry, Professional, Enterprise and Enterprise Advanced plans.
  • Agree the Mattermost site URL, which determines the exact OAuth redirect URI registered in Azure.
  • Identify which Entra ID tenant, admin roles and channels will use the integration and who approves consent.
  • Record scope, deliverables and timelines in writing, so the engagement is fixed-scope before work starts.

How we build

  • Create the single-tenant Azure app registration and client secret, with the redirect URI built from your site URL.
  • Configure the delegated Microsoft Graph permission OnlineMeetings.ReadWrite and document the consent request.
  • Install the Teams Meetings plugin from the App Marketplace and connect it to your registered Azure application.
  • Test start and join flows from a channel with a test user, including screen sharing and sign-in with a second account.

How we hand over

  • Deliver a configuration record listing the app registration, permissions, redirect URI and plugin settings used.
  • Document where the client secret is stored, who owns it, and when it must be rotated before expiry.
  • Walk your administrators through consent, plugin settings, troubleshooting steps and user onboarding.
  • Provide a rollback note describing how to disable the plugin and revoke the app registration if needed.

How we support

  • Review the integration after each Mattermost monthly release and Extended Support Release that affects plugins.
  • Retest start and join flows after Azure, Graph or Teams changes that could affect the integration.
  • Provide retainer support for secret rotation, consent changes, user access questions and plugin updates.
  • Agree in the retainer which support hours, response expectations and test cycles apply to your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.