Configuring Alert Rules to Not Send Secondary Resolved Notification

Moore, Payton E 101 Reputation points
2020-12-17T17:38:39.95+00:00

We have set up an alert rule to notify us when a pipeline has failed in our synapse works (when pipeline failure > 0). The evaluation is based on a period of 5 minutes with a frequency of evaluation every 1 minute. The set up works well in notifying us of a pipeline failure; the only caveat is it sends us another notification once the pipeline failure = 0 again. We are looking for a way to modify the alert to NOT send the second notification that states everything is resolved. One thing to note is in our case we want to use alert rules and not Azure Monitor. If you have any thoughts or ideas, they would be much appreciated. Thanks!!

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,956 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,597 questions
{count} vote

Accepted answer
  1. MartinJaffer-MSFT 26,046 Reputation points
    2020-12-31T20:24:01.303+00:00

    Hello @MoorePaytonE-7270 . I think I have a solution. We can use an action rule to suppress the "resolved" notifications.

    1. Go to your Data Factory in the Azure Portal
    2. Go to the Alerts Blade
    3. Click Manage Actions

    52683-toactions.jpg

    1. Select Action rules (preview)
    2. Click New action rule

    52632-manageactions.jpg

    Now you will see an empty action rule form.
    52712-actionruleform.jpg

    The "scope" is the Data Factory you want to suppress notifications about. You will have to navigate to it.
    For "filter", we want to select "Monitor Conditions equals Resolved"
    For "Define on this scope" , select "Suppression".
    Then you can edit the "Suppression" config. Since you do not want to receive the email ever again, choose "Suppressed always".
    52633-action-rule-suppress.jpg

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Richard Martinez 5 Reputation points
    2024-02-02T13:51:16.0066667+00:00

    Some things have changed since the accepted answer. Suppression of "Resolved" notifications can now be handled as follows:

    1. Go to your Data Factory in the Azure Portal
    2. Go to the Alerts Blade
    3. Click Alert processing rules.
    4. Click Create.
    5. In the Scope section, add a filter with Alert condition Equals Resolved.
    6. In the Rules settings section, select Suppress notifications.
    7. In the Scheduling section, select Always.
    1 person found this answer helpful.
    0 comments No comments

  2. Segun Akinyemi 5 Reputation points Microsoft Employee
    2024-04-22T13:25:01.6466667+00:00

    As mentioned in an earlier comment, things have changed a bit, the tool that solves this is now called an "Alert Processing Rule". I formalized the guidance for stopping the double alerts in the article below.

    How To Stop Azure Monitor Alerts From Sending Redundant ‘Fired’ and ‘Resolved’ Emails

    1 person found this answer helpful.
    0 comments No comments