How to create custom DevOps workitem using azure ApplicationInsights Alerts(custom-log search) and Azure functionApp

Chethan Parashuram 7 Reputation points
2022-08-23T07:09:28.213+00:00

Continuation of this flow - https://learn.microsoft.com/en-us/answers/questions/968858/azure-alertscustom-log-search-how-to-get-custom-di.html

I am new to this kind of stuff,
I have configured Alert(Custom-log) in Application-Insights, alert got fired when my API throws error or exception.
In Action-groups, i have configured Action-type as webhook and passed functionApp url into webhook. In Azure functionApp i have written all logics to create workitem in DevOps boards - this was the overall flow

In my case when i test the functionApp url along with Alert payload requestbody from the POSTMAN,it was working fine and workitem has been created in DevOps boards but the same when i run through the Alerts,workitem is not even creating in DevOps.

any best way to achieve this or alternate method

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,779 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,189 questions
{count} votes