Ad Widget

Collapse

MS Teams WorkFlow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erkanvaris
    Junior Member
    • Jun 2024
    • 3

    #1

    MS Teams WorkFlow

    I'm trying to post alert to MS Teams channel on Zabbix 7.4 but there is following error in the workflows -> 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.

    I have updated latest media type yaml file. Could you please assist me to find out what's wrong?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hey,

    Are you sure you are using MS Teams WORKFLOW and Zabbix WORKFLOW WEBHOOK ? Because there are two different webhook integrations on Zabbix page, and such error can happen if you have the old (deprecated by MS) webhook but try to apply it to new Teams workflow.



    I know, confusing on both MS as well as Zabbix side.

    Comment

    Working...