hidapple / graylog-plugin-teams

Graylog event notification plugin to send messages to Microsoft Teams
GNU General Public License v3.0
32 stars 11 forks source link

Migrate to Teams Workflow #234

Closed unbearables closed 2 weeks ago

unbearables commented 2 weeks ago

Microsoft is deprecating webhooks through Connectors and is replacing that with Microsoft Workflows see https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/ - the deadline is 15.8.2024. With this change they introduce API changes see https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=PowerShell%2Ctext1

It would be useful to alter the plugin so it is plug-and-play with this new approach. Since Teams is cloud solution it is pointless to keep the old Connector approach, so it will be a breaking change, but only on client side in Teams (needs to be reconfigured) - the config will remain the same.

I will release new minor version with this.

unbearables commented 2 weeks ago

I will implement this in the nearest future as we are directly impacted by this change.

killdashnine commented 2 weeks ago

+1

ibrahimrehman1 commented 2 weeks ago

Thanks for the update. Looking forward to the new release 😊

unbearables commented 2 weeks ago

Change was successfully done and will be released in 2.1.0.

Note that you might encounter has some issues in formatting as the Teams API changed via AdaptiveCard. For example preformatting text (TextBlock) + collapsing cards no longer works. I recommend using https://adaptivecards.io/designer/ and test your content in TextBlock element - see README for more info.

If there is an issue that you think should be covered in this plugin then please open a new issue, this thread will be locked.