Azure Logic App and Slack App

Rajesh Kumar Mishra 91 Reputation points
2021-09-27T06:38:04.203+00:00

I have used the combination of Azure Monitor -> Logic Apps -> Slack to implement Monitoring Soln.
With the new integration of Slack Apps with Azure Logic App , the legacy webhooks are no more required. I have configured the connection between the Azure Logic App and Slack Channel for posting the Alerts, however there is no option to color code the side bar of Slack Post using this method. Objective here to at least put two different color , Red if Issue is active and Green is its resolved. I know which would have been possible if I was using legacy incoming webhooks. Please advise

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,845 questions
0 comments No comments
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 19,856 Reputation points
    2021-09-30T12:09:35.427+00:00

    Hi @Rajesh Kumar Mishra

    Welcome to Microsoft Q&A!

    The current version of Post message (V2) operation in Slack connector does not expose the attachments field which has the color attribute. I will reach out to our team to gather more details around it and will share it with you.
    As a workaround, you may choose to use Http action to achieve the required result by calling the corresponding Slack api.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful