How to connect to MS Teams
Hi There,
I'm new to discord and relativly new to Windmill, so please excuse, if I'm missposting here.
I'm trying to use the MS Teams interactive approval integation. But I'm failing to setup the OAUTh.
I cannot click connect to Teams in the Workspace settings:
(See attachments)
The webconsole gives the error-fail to get TeamID's no OAUTH, but I have never connected it. I'm just trying to configure it for the first time.
Any Ideas?


7 Replies
👋 Hi there. To start, are you on an enterprise, self-hosted plan?
This would be a pre-requisite for the setup of Teams OAuth.
If you are, then you can follow this guide: https://www.windmill.dev/docs/misc/setup_oauth#microsoft-teams
Once you created the Teams bot and installed it in your MSFT Teams, and your bot is added to at least one team you will see it in the workspace script dropdown.
Setup OAuth and SSO | Windmill
Windmill supports Single Sign-On for Google, Microsoft, Okta, GitHub, GitLab, Jumpcloud, Keycloak, Authentik, Authelia, Kanidm, Zitadel and domain restriction.
Hi Alex thanks for the fast repsone. I'm on the enterprise plan.
Perfect, then you can follow the steps mentioned in the documentation above to complete the OAuth setup and installation of the Teams bot.
So I tried to follow the documentation. I think it requires some type of different MS Plan then we currently have.
And I think I was also wrong about the Windmill plan. We're on the Team plan. So I guess no superadmin page for us
That's correct, there are some limitations right now that prevent us from having a full OAuth connection per "team" in our team plan.
However, please note that Teams also supports posting via "webhook" which might be sufficient for you and works well with windmill:
https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498
you could create a script that posts a message / teams card to the webhook generated using the guide above
Create incoming webhooks with Workflows for Microsoft Teams - Micro...
Post a workflow to a channel or chat when a webhook request is received in Microsoft Teams.
Ok thank you very much for your time and support. That was one of my earlier Ideas, before I stumpled accross the Teams integration. I will check it out tomorrow.