Where is the "Custom JSON payload" option in webhook??? When creating action group, only webhook URI is available. Cant see custom json payload textbox anywhere.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@mehdipanjwani Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.
Custom JSON payload is only applicable to log alerts as stated in the doc:
To understand the various alert types in Azure Monitor, please see this article: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-unified-alerts#create-an-alert-rule
@msvijayn Custom JSON payloads are missing for Administrative type alerts. This is really unfortunate as I'd love to send custom json payloads based on the alert, for example, sending specific data from someone viewing my storage keys. Please fix this and add this feature.
Appreciate if you could please update the documentation. Nowhere it says the word "only" as you mentioned in your comment. Also when creating App Insights Availability alerts and Classic Alerts, there is webhook URL which only accepts URL and it doesn't accepts custom json payload. If this is not supported, please mention this clearly in the documentation. The documentation is clearly missing key things.
For example here: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-tutorial-alert and here https://docs.microsoft.com/en-us/azure/application-insights/app-insights-alerts and here https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-action-groups please mention that custom json payload is not supported.
@mehdipanjwani -
The articles you have mentioned are from Application Insights for their functionality like Availability. Please refer to Azure Monitor - alert usage article, it is clearly mentioned:
@jdogg89 - Thank you for your feedback. Azure alerts team is always eager to hear your requests and work upon them. Suggest providing the input via Product Feedback page instead; so that we can gauge demand and keep everyone interested informed on the dev plan.
The link that you mentioned https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitor-alerts-unified-usage#create-an-alert-rule-with-the-azure-portal refers to create action group to include custom json payload. And the action group https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-action-groups doesnt say anything about custom payload. I think we are moving in circles.
Is it possible to provide custom json payload in webhooks for "Availability tests" and "action group (used in classic alerts)"? Availability test: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-tutorial-alert
Classic alerts: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-alerts
@mehdipanjwani - classic alerts don't use action group; only the newer Azure alerts have coupling with Action Group. If you are requesting a new functionality or feature, the right forum for it is via Product Feedback page; where the requests are tracked and updated with dev plans.
So the crux of the matter is that it is not possible to include Custom JSON payload option for availability and classic alerts. Just realized I should have posted this to appropriate forum.
What a dumb way to keep webhooks alerts completely useless
Yeah, we really missed them
Most helpful comment
What a dumb way to keep webhooks alerts completely useless