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

AnuragSingh-MSFT 21,076 Reputation points
2024-06-27T17:24:31.5166667+00:00

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,960 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,172 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,761 Reputation points
    2024-06-27T19:45:42.53+00:00

    @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: https://docs.microsoft.com/en-us/azure/automation/.

    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