How to setup a single alert rule in ADF to handle multiple pipeline failures such that it dynamically reflects the name of the pipeline which failed ?

Anirudh G Joshi 0 Reputation points
2025-01-30T11:39:30.99+00:00

Hey,

I want to create an alert rule in ADF to handle multiple pipeline failures. The alert should dynamically reflect the name of the pipeline which failed. I'm trying this approach because I want to avoid creating an alert rule for each pipeline.
Specifically, I want to fetch the failed pipeline's name in the alert description, so that I can get to know about the pipeline when I receive a notification email about the failure.
How do I do this ? Please help. Thanks in advance :)

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,181 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 19,390 Reputation points Microsoft Vendor
    2025-01-30T13:27:45.8166667+00:00

    Hi @Anirudh G Joshi
    Thank you for reaching out to us.

    To create an Alert in Azure Monitor to report a failure in an Azure Data Factory Pipeline. Below are the Steps to configure this. Go to the Monitor Tab in your Azure Data factory.

    • In the monitor tab at the bottom left side, you will see ALERTS & METRICS.
    • Create a New Alert RuleUser's image
    • Provide the name to your Alert name and the Severity of the failed Pipeline. User's image
    • Add the target Criteria in the add Criteria look for the 'Failed pipeline runs metrics' User's image

    User's image

    • Once the Criteria is added you will find the Dimension & Value. Dimension will be your Pipeline's and Values failure type. And click on Add Criteria.

    User's image

    • Next you will see Configure Email/SMS/Push/Voice notification. Configure notification.

    User's image

    • Action group name, short name and Add Notification. User's image
    • Provide the action name select the type as email and provide your email address then click add notification.

    User's image

    • Once you create Action group name you will receive email confirmation that you are added to Action group.

    User's image

    • Now click create Alert Rule. Once you create Alert rule and the pipeline fails It will trigger the email to your inbox like below. User's image
    • Upon following the above steps, you can configure Alert for your Azure Data factory Pipeline failures and receive email alerts.

    I hope this helps. Please let me know if you have any further questions. Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

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