jedipi / NLog.Targets.MicrosoftTeams

A NLog target that writes to Microsoft Teams Channel via O365 Webhook Connector.
https://jedipi.github.io/NLog.Targets.MicrosoftTeams/
MIT License
12 stars 5 forks source link

MS Teams Workflow #7

Open mmoreno79 opened 3 months ago

mmoreno79 commented 3 months ago

Now that Microsoft is retiring O365 connectors within Teams, we are being forced to utilize their new Power Authomate Workflows. Are there any plans to support workflows within this target?

franarena commented 2 months ago

It's true, I quote:

"Microsoft 365 Connectors ... are nearing deprecation, and the creation of new Microsoft 365 Connectors will soon be blocked"

Instead, you must use MS Teams Workflows, but you get an error, for instance:

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.