LogicApps to Send Error Notification Based on configuration table.
Logic Apps structure to get the data from Application Insights and get the notification configurations from the database table and send emails based on the action. The code for the structure below. The subscriptionId has to updated. { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Exception_Result_Query": { "inputs": { "body": "\n\nunion (traces \n| where message startswith \"Error: \" and timestamp > ago(30m) \n| join kind= leftouter (\n requests \n | where timestamp > ago(30m) and success==\"False\"\n) on operation_Id \n| project success , name ,resultCode,duration,url, operation_N...