Skip to content

Fix: Microsoft Teams notifications using Adaptive Cards#1107

Open
debangan03 wants to merge 5 commits intoopensearch-project:mainfrom
debangan03:main
Open

Fix: Microsoft Teams notifications using Adaptive Cards#1107
debangan03 wants to merge 5 commits intoopensearch-project:mainfrom
debangan03:main

Conversation

@debangan03
Copy link
Copy Markdown

@debangan03 debangan03 commented Dec 5, 2025

Updated DestinationHttpClient to use Adaptive Card schema (v1.2) for Teams.

Added Content-Type: application/json header for Teams requests.

Relaxed URL validation to support Logic Apps and Power Automate domains.

Updated unit tests.

Description

helps in integrating microsoft Teams new webhook url and send adaptive card notifications

Related Issues

Resolves #1106 Issue to be closed when this PR is merged]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

- Updated DestinationHttpClient to use Adaptive Card schema (v1.2) for Teams.

- Added Content-Type: application/json header for Teams requests.

- Relaxed URL validation to support Logic Apps and Power Automate domains.

- Updated unit tests.

Signed-off-by: Debangan Bhattacharyya (debangan03) <debangan2019@gmail.com>
…daptive-cards

Signed-off-by: Debangan Bhattacharyya (debangan03) <debangan2019@gmail.com>
@Hailong-am
Copy link
Copy Markdown
Collaborator

@debangan03 would you mind to fix ktlint by run ./gradlew ktlintFormat

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

Successfully merging this pull request may close these issues.

[Bug] Microsoft Teams Destination rejects valid Power Automate/Logic Apps URLs & Fails with Bad Request

2 participants