TwiN / gatus

⛑ Automated developer-oriented status page
https://gatus.io
Apache License 2.0
6k stars 404 forks source link

Change the Teams alert from the Office 365 connector to the Teams Workflow App Webhook Connector #820

Open westynz opened 1 month ago

westynz commented 1 month ago

Describe the feature request

Recently, Teams alerts in my tenant from Gatus have had the following text appended to them:

"Action Required: O365 connectors within Teams will be deprecated and notifications from this service will stop. Learn more about the timing and how the Workflows app provides a more flexible and secure experience. If you want to continue receiving these types of messages, you can use a workflow to post messages from a webhook request. Set up workflow"

So, reading through the first link, all Office connectors, including the Incoming Webhook connector Gatus uses are being retired in favour of the Teams Workflow App which seems to be a client for Power Automate.

There appears to be webhook connector template in the new workflow app that will operate in a similar way to the O365 webhook connector.

This (https://learn.microsoft.com/en-us/connectors/teams/?tabs=text1#microsoft-teams-webhook) page describes JSON body content required, which is in the Adaptive Card JSON format.

Why do you personally want this feature to be implemented?

I use as Teams my main conduit for important alerts.

How long have you been using this project?

6 months

Additional information

I'm curious to know if other users who have configured Teams alerts are also receiving this message?

This is great project, thank you for all the hard work!

kaleidoscopix commented 1 month ago

+1 I just noticed the same message on all alerts to Teams today. According to the docs, there's some fairly aggressive (IMO) timelines to this change:

Wave 1 – effective August 15th, 2024: All new Connector creation will be blocked within all clouds Wave 2 – effective October 1st, 2024: All connectors within all clouds will stop working

It would be fantastic to see a migration to this new method as I also use Teams as a main alerting tool for my department.

TwiN commented 1 month ago

Makes sense to me as well. I'm currently very busy irl, but if somebody wants to make a PR, I can have a look at it and release it.

atc0005 commented 1 month ago

FWIW, here are some additional references that you may find useful:

TwiN commented 1 month ago

It looks like they pushed back the timeline:

All existing connectors within all clouds will continue to work until December 2025, however using connectors beyond December 31, 2024 will require additional action.

source