Webhook support for MS Teams Workflows #5143

Closed
opened 2026-02-05 09:43:19 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @kMikaZu on GitHub (Jan 22, 2025).

Hi

Microsoft changed stuff again, without really knowing why etc. But all connectors in MS Teams need to be converted to Workflows now.

Quote:

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.

The new Workflow returns an error though:

The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.

I based the setup on the Snipe IT Info here.

Originally created by @kMikaZu on GitHub (Jan 22, 2025). Hi Microsoft changed stuff again, without really knowing why etc. But all connectors in MS Teams need to be converted to Workflows now. Quote: > Action Required: O365 connectors within Teams will be deprecated and notifications from this service will stop. [Learn more](https://aka.ms/O365ConnectorDeprecation) 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. The new Workflow returns an error though: ``` The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['body']?['attachments']' is of type 'Null'. The result must be a valid array. ``` I based the setup on the Snipe IT Info [here](https://snipe-it.readme.io/docs/webhook-integration).
Author
Owner

@ssddanbrown commented on GitHub (Jan 22, 2025):

Hi @kMikaZu,
Is this a feature request or a support request?

Generally we don't support any specific external platforms when it comes to webhooks so I wouldn't look to specifically support Microsoft options in this area.

If the format that we send in is not directly compatible with teams workflows, you may need something in the middle to manipulate the data first, or if handy with PHP you can customize the sent webhook data via our logical theme system.

@ssddanbrown commented on GitHub (Jan 22, 2025): Hi @kMikaZu, Is this a feature request or a support request? Generally we don't support any specific external platforms when it comes to webhooks so I wouldn't look to specifically support Microsoft options in this area. If the format that we send in is not directly compatible with teams workflows, you may need something in the middle to manipulate the data first, or if handy with PHP you can customize the sent webhook data via our [logical theme system](https://github.com/BookStackApp/BookStack/blob/development/dev/docs/logical-theme-system.md).
Author
Owner

@kMikaZu commented on GitHub (Jan 22, 2025):

I think it's a little bit of both @ssddanbrown ;-) I think BookStack would benefit from official MS Teams support (at least concerning WebHooks).

@kMikaZu commented on GitHub (Jan 22, 2025): I think it's a little bit of both @ssddanbrown ;-) I think BookStack would benefit from official MS Teams support (at least concerning WebHooks).
Author
Owner

@ssddanbrown commented on GitHub (Jan 22, 2025):

Okay, then such a feature request would be considered out of scope.

I can support from a BookStack perspective though if you want to take either of the options mentioned in my last message.

@ssddanbrown commented on GitHub (Jan 22, 2025): Okay, then such a feature request would be considered out of scope. I can support from a BookStack perspective though if you want to take either of the options mentioned in my last message.
Author
Owner

@kMikaZu commented on GitHub (Jan 23, 2025):

I will get back to you, I need to talk with the colleagues if they consider this as a must-have.

@kMikaZu commented on GitHub (Jan 23, 2025): I will get back to you, I need to talk with the colleagues if they consider this as a must-have.
Author
Owner

@ssddanbrown commented on GitHub (Feb 25, 2025):

I'm going to go ahead and close this off, since I don't want to specifically support platforms as mentioned above, but feel free to still comment or open a new issue if any guidance on mentioned customization options is needed.

@ssddanbrown commented on GitHub (Feb 25, 2025): I'm going to go ahead and close this off, since I don't want to specifically support platforms as mentioned above, but feel free to still comment or open a new issue if any guidance on mentioned customization options is needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5143