Why is this Alert not working as expected

Mark Pearson 320 Reputation points
2025-10-16T13:18:24.5366667+00:00

I have the following Alert set up in Azure Monitor. It's purpose is to alert us if an automated shutdown does not run correctly and therefore our Azure VM is running for longer than 3 hours, but for some reason it is not firing at all:

User's image

User's image

NOTE: I have redected the server name, so the dimension value would be the actual server name if this where not changed.

If I run the KQL manually I get the following result:

User's image

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.