azure-quickstart-templates
azure-quickstart-templates copied to clipboard
201-alert-to-slack-with-logic-app
201-alert-to-slack-with-logic-app
Issue Details
Readme.MD instructions on how to use the template with the Portal are incorrect. Call from your Alerts section: Steps 2, 3 and 4 do not accurately reflect what is shown in the Azure portal for a Logic App.
There is no last deployment link in Essentials there is no top deployment to choose there is no output called WebHookURI
Repro steps
- Deploy template
- try to follow the steps as listed in the Readme.MD
- you'll find multiple errors
I'm willing to fix them, but I'm not sure what is the correct options.
when i deployed as normal... and this is error i see, you're right there is multiple errors.
have you made any progress with it? @bmoore-msft @matthewacme
Not a bit, and no word from our Overlords
I removed HTTP POST method (second step) and changed third step to:
"text": "Azure Alert - '@{triggerBody()['body']['body']['data']['context']['name']}' @{triggerBody()?['body']?['body']?['data']?['status']} on '@{triggerBody()['body']['body']['data']['context']['resourceName']}'. Details: @{triggerBody()?['body']?['body']?['data']?['context']?['portalLink']}"
and it works perfectly now: