Hi there,
I configured a Microsoft PowerAutomate Flow with an input action “HTTP request is received”.
To trigger this Flow, I set up a Webhook Notification Channel in NR.
When sending a Test Notification, New Relic reports:
{
response: 200,
Unable to invoke Webhook. Webhook responded with HTTP status code 401.
}
On the Microsoft Flow however, I do not even see that a request was tried to be sent.
Here’s the Payload I use on New Relic:
-
HTTP POST URL
https://prod-39.westeurope.logic.azure.com:443/workflows/XXXXXXXXXXXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=z_XXXXXXXXXX-k
-
Custom Header:
Content-Type application/json
JSON
{
"policy_name": "$POLICY_NAME",
"violation_chart_url": "$VIOLATION_CHART_URL"
}
Here’s the schema I added to the HTTP Request Input Action on my Power Automate Flow:
Request Body JSON Schema
{
"type": "object",
"properties": {
"policy_name": {
"type": "string"
},
"violation_chart_url": {
"type": "string"
}
}
}
- Method:
none
I tried to adapt the solution for Google Chat from the topic reply here: New Relic alerts not working with google chat - #22 by marcelo1leon
But that didn’t work neither.
Anyone got any ideas, what is needed to get this up and working?