DependencyTrack / DependencyTrack/dependency-track
MS Teams is retiring webhooks - Power Automate workflows is the new black
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
M$ is [retiring the classic webhooks](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/) and you'll have to use Power Automate workflows instead.
The linked page doesn't have too many details about the transition so I thought it'd be a swap & replace. But apparently that's not true.
With the existing template my workflow errs with:
> ... "Send_each_adaptive_card": 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.
### Proposed Behavior
I guess it'd be a good idea to have a new template for notifications for workflows that works out of the box and has an adequate name.
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested
Contributor guide
Assessment
This issue has not been assessed yet.