My team had an integration between Gitlab and Microsoft Teams using the instructions here: https://docs.gitlab.com/ee/user/project/integrations/microsoft_teams.html
This utilized the the webhook connector in Teams. Yesterday a team member noticed the following message at the bottom of all our notifications:
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
I clicked the Set up workflow link, generated a new webhook URL, and replaced the URL in the Gitlab environment under our existing integration. Now everything is broken. Through random clicking in the Workflows interface I managed to find that I could click on "Run history" and then the Start time timestamp to get to a page with error messages. The message is:
Error
Action 'Send_each_adaptive_card' failed
Error Details
The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.
Has anyone had success integrating Gitlab notifications with the new Teams Workflows integration?