An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello Bipin Kadam,
Greetings! Thanks for raising this question in Q&A forum.
The reason this is happening is that your Log Search Alert is configured as a stateless alert. This means Azure Monitor does not remember that it already fired for the same condition so every time it evaluates the query (every 5 minutes) and still finds that one matching log record within the lookback window, it fires the alert again. This behavior may have become more consistent due to recent backend changes in Azure Monitor's Scheduled Query Rules engine around June 2026.
Here's how you can fix this:
Step 1: Switch to a Stateful Alert
Go to your Alert Rule in the Azure Portal and edit it. Under the "Alert logic" section, look for the option "Automatically resolve alerts" and enable it. This makes the alert stateful — once it fires, it won't fire again until the condition clears and re-triggers.
Step 2: Adjust the Aggregation Granularity and Evaluation Period
Since your runbook runs twice a day, there's no need to evaluate every 5 minutes. Update the settings like this:
- Aggregation granularity: 15 or 30 minutes
- Evaluation frequency: 15 or 30 minutes
- Evaluation period: 30 minutes
This reduces the chance of the same log record being caught in multiple evaluation windows.
Step 3: Add a Time-Based Filter to Your Query
Narrow the query so it only picks up records from a fresh window. For example, add this line to your KQL query:
| where TimeGenerated >= ago(6m)
This ensures only very recent records are matched, so once the record ages out of that window, the alert stops firing.
Step 4: Use the "Mute actions" (Suppress Alerts) Option
In the Alert Rule, set "Mute actions for" to something like 60 minutes. This prevents repeated notifications even if the alert keeps evaluating as true.
Step 5: Verify the Fix
After saving, wait for the next scheduled runbook execution (08:00 or 20:30 JST) and confirm that only one email notification is received.
To directly answer your questions yes, this is expected behavior for a stateless alert with a short evaluation window. There have been platform-side changes in Azure Monitor's Scheduled Query Rules that can make this more pronounced. The fix is primarily switching to stateful mode and widening your evaluation window.
If this answer helps you kindly accept the answer which will help others who have similar questions.
Best Regards,
Jerald Felix.