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

Chethan Parashuram 7 Reputation points

Continuation of this flow -

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