Concurrent Automation Runbook jobs being triggered for a single web app stop activity

AnuragSingh-MSFT 21,241 Reputation points

Azure activity log alert was set up for triggering alert for web app stop operation and azure automation runbook was specified in action group for this alert rule.

Multiple Azure Automation Runbook jobs are being triggered concurrently due to multiple activity log alerts for a single web app stop operation. How do we prevent multiple automation runbook trigger for a single issue?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,988 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,185 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,771 Reputation points

    @AnuragSingh-MSFT - Thanks for reaching out to us.

    Please try to modify the alert rule configuration to trigger only on the 'Succeeded' status. This adjustment will ensure that the runbook is triggered only once for the same event, preventing concurrent execution, and ensuring sequential processing as required.

    For more information on configuring Azure Automation Runbook and activity log alerts, please refer to doc here:

    Hope this helps. and please feel free to reach out if you have any further questions.

    Please don't forget to "Accept as Answer" and click "Yes" if the above response is helpful, so it can be beneficial to the community.

    0 comments No comments