Search code examples
azureazure-powershellazure-api-managementazure-log-analyticsazure-monitoring

Azure API 'get all alerts" no value


I want to get all my alerts that are triggert with azure monitor.
I use the Azure documentation but I don't get any alerts. I get status 200 but no alerts.

https://learn.microsoft.com/en-us/rest/api/monitor/alertsmanagement/alerts/getall

Any suggestions?


Solution

  • Change the api version to 2019-03-01 and try again.