Microsoft has abolished simple webhooks and now forces everything through Workflows and Power Automate.
Plugin is able to hit the new webhook URLs, but the data is all NULL and fails on the Microsoft Side:
notify-teams:
image: mobydeck/ci-teams-notification
settings:
webhook_url:
from_secret: teams_webhook_url
facts: project
variables: $CI_COMMIT_SHA
debug: true
when:
- status: [success, failure]
event: [manual, push, tag]
Error:
Action 'Post_card_in_a_chat_or_channel' failed: Request to the Bot framework failed with error: '{"error":{"code":"BadSyntax","message":"Malformed activity payload: Value cannot be null.\r\nParameter name: input"}}'.
Workflow created from Team using the "Send webhook alerts to chat" template.
Testing the webhook URL with curl works fine, so I suspect that the expected json payload has changed.
Microsoft has abolished simple webhooks and now forces everything through Workflows and Power Automate.
Plugin is able to hit the new webhook URLs, but the data is all NULL and fails on the Microsoft Side:
Error:
Action 'Post_card_in_a_chat_or_channel' failed: Request to the Bot framework failed with error: '{"error":{"code":"BadSyntax","message":"Malformed activity payload: Value cannot be null.\r\nParameter name: input"}}'.Workflow created from Team using the "Send webhook alerts to chat" template.
Testing the webhook URL with curl works fine, so I suspect that the expected json payload has changed.