'Azure Alerts are automatically disabled after they were working for a while
We have defined alerts in our azure app service and they were working correctly for some time. At some point they stop wokring and 7 days later they were even disabled. The activity log is showing the following information :
Alert: Low imaging cache usability is disabled by the System due to : Alert has been failing consistently with the same exception for the past 7 days. reasonThe request had some invalid properties
Although the queries are executing correctly. The permissions are right how they should be.
Any idea what could we check? What are these invalid properties?
We manually enable the alerts and after same period they are disabled again for the same reason.
Solution 1:[1]
Is your alert ending with a semicolon? Have you been able to solve this issue?
What we found out: If a query ends with a semicolon, then Microsoft Azure says that the alert has some invalid properties. But if we open it in the log analytics workspace, the query can be executed properly.
After removing the semicolon end of the query, it works on both the alert configuration page and the log analytics workspace page.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | jkanczler |