I was asked to do a POC test that needs to toggle Azure Alert Rules to either enable or disable the alerts via the logic app.
So far I can get the logic app to display the json file of the "Microsoft. Insights/ActivityLogAlerts" that I have. Now I need help to figure out how I can enable/disable the alerts.
You can check the images for reference on my current setup.
PS. We can't use the alert processing rule since we don't want any alerts to appear on the alert dashboard because of monthly reporting purposes.
I tried doing the HTML request POST but I can't change the status of "enabled": false, to "enabled": true,
}
"enabled": false,
"description": "## THIS IS A TEST ALERT ##"
}