Integrate Mendix into Microsoft Teams

0
Hi,   I am looking into a solution to easily add my Mendix App as a tab into Microsoft teams.  I was wondering if anybody had ever done this before and would share information on how to get started!   Edit: To be more precise: I am not looking for how to use MS Graph APIs to interact with Teams/Sharepoint etc. I want to know how I can deploy my application to be accessible from within Teams as a tab application.    Thanks a lot!
asked
2 answers
1

Hi Reto,

check out the Graph API, since it seems there are options to interact with Teams:
http://​​​​​​​https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
There is a Graph Connector in the App Store which you may be able to use:
https://appstore.home.mendix.com/link/app/73034/
​​​​​​​
hope it helps!!
 

answered
0

Hi,


Yes, this is definitely possible and quite commonly done. The standard approach is to expose your Mendix app as a web app and embed it in Microsoft Teams as a tab.

How it works (high level)

Microsoft Teams tabs are basically iFrames, so your Mendix app just needs to be:

  • Accessible via HTTPS
  • Allowed to be embedded in an iFrame

Steps to implement

1. Make your Mendix app embeddable

By default, Mendix blocks iFrames.

You need to configure:

  • Content-Security-Policy (CSP)
  • X-Frame-Options

In your environment (or custom runtime settings), allow:

frame-ancestors https://teams.microsoft.com https://*.teams.microsoft.com

Without this, Teams will block the app.

2. Ensure authentication works inside Teams

This is the important part.

Options:

  • SAML / Azure AD SSO (recommended)
  • → Seamless login inside Teams
  • If using standard login → user will see login page inside tab

For Teams, Azure AD (Entra ID) SSO is the best fit.

3. Create a Teams App (manifest)

You need to create a Teams app package:

  • Define a static tab
  • Set:

"contentUrl": "https://your-mendix-app-url"

Optional:


"websiteUrl": "https://your-mendix-app-url"

4. Upload to Teams

  • Go to Teams → Apps → Manage apps
  • Upload your custom app package

Then:

  • Add it as a tab in a channel or personal app

Important things to check

  • App must be publicly accessible (or via corporate network/VPN)
  • HTTPS is mandatory
  • Session handling should work inside iFrame
  • Avoid redirects that break iFrame (some SSO configs do this)

Common issues

  • App not loading → CSP / X-Frame issue
  • Login loop → SSO not configured correctly
  • Blank page → blocked cookies / third-party cookies

You don’t need any special Mendix module for this. The correct approach is to:

  • Allow your app to be embedded (CSP)
  • Configure authentication (preferably Azure AD SSO)
  • Register it as a Teams tab via a manifest

Once done, your Mendix app works seamlessly inside Teams as a tab.


answered