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

Office 365 incoming webhook connector for Teams is deprecated, Workflow connector for incoming webhook does not work with notifications #220

Open
JimReprogle opened this issue Jul 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@JimReprogle
Copy link

JimReprogle commented Jul 12, 2024

What is the bug?
Microsoft is deprecating the Office 365 connectors for teams, and will require users to utilize the workflow app to post adaptive cards to Teams channels via webhook.

How can one reproduce the bug?
Steps to reproduce the behavior:

Go to 'Notifications->Channels->Create Channel'
Give a name to your channel
Select Channel Type of Microsoft Teams
Enter the webhook URL from the Workflow app (not the O365 webhook) connector URL. It should look something like:
https://prod-XX.westus.logic.azure.com:443/workflows/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Click "Send Test Message"
See the error: [status_exception] Wrong Microsoft Teams url. Should contain "webhook.office.com"
What is the expected behavior?
Expected behavior is that the call to the webhook will be able to send a message to the webhook URL. However, the URL is different and does not contain "webhook.office.com", and the expected type of data sent to the webhook is an adaptive card.

What is your host/environment?

OS: MacOS
Version: Sonoma 14.5

Do you have any additional context?
Microsoft is deprecating the type of webhook currently used in OpenSearch notifications sent to Microsoft Teams. They will require users to use the Workflow app to receive incoming webhooks, which in turn requires Openseaerch to send adaptive cards.

For reference: https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/

@JimReprogle JimReprogle added bug Something isn't working untriaged labels Jul 12, 2024
@JimReprogle
Copy link
Author

This can be worked around by utilizing the Custom Webhook notification in OpenSearch Dashboards.

@dblock
Copy link
Member

dblock commented Aug 5, 2024

[Catch All Triage - 1, 2, 3]

@dblock dblock removed the untriaged label Aug 5, 2024
@dcopestake
Copy link

This can be worked around by utilizing the Custom Webhook notification in OpenSearch Dashboards.

Yep. I've commented with an example of how to do this on a similar issue: opensearch-project/notifications#942 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants