Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Workflows app instead of Incoming Webhook in Teams due to retirement of O365 connectors #2311

Open
vienleidl opened this issue Oct 31, 2024 · 1 comment

Comments

@vienleidl
Copy link

Why is this needed: According to this update, the Incoming Webhook seems to not working anymore for sending a message from the HealthChecksUI to a channel within Microsoft Teams.

What would you like to be added: It would be better if HealthChecksUI supports the Workflows app in Teams.

@miljan012
Copy link

Hi @vienleidl,

You can use Workflows with the current version of HealthChecksUI. If you already have Teams notifications configured, you'll need to update both the webhook URL and the payload for the alerts. You can follow these two steps to make the switch to Workflows:

  • Set up a new workflow: Create a workflow that sends alerts to a specific Teams channel when a webhook is received. You can use the template titled "Post to a channel when a webhook request is received". This will generate a new webhook URL, which you’ll switch to in the HealthChecksUI.

  • Create an adaptive card: Create an adaptive card to define the payload for health check alerts. You can use the Adaptive Card Designer to customize the design as needed. The [[FAILURE]] and [[LIVENESS]] syntax remains supported for the message content. Once the card design is ready, you'll need to configure the payload in HealthChecksUI with the JSON content of the new adaptive card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants