0

I am setting up ADF alerts to be notified of the pipelines that are failing in production.

In the email that is being sent out, I can see the name of the data factory, but not the name of the pipeline that has failed.

How can I include this in the alert email.

user961
  • 453
  • 6
  • 20

1 Answers1

0

You can do this easily with Logic app and Web activity in ADF.

Upon creation of Logic app we may define Pipeline Name along with other details so that we may get the failure mail alert with the name of the pipeline which failed.

In Logic App workflow, use Pipeline Name as one of the property parameter inside Request: “When a HTTP request is received”:

enter image description here

In the next step “Send an email (V2)” mention Pipeline Name in the Mail Body section as Dynamic content as shown below:

enter image description here

enter image description here

Here we have a sample Pipeline with Copy Activity which is set to fail and the Web Activity is used with the configuration below to send failure email:

enter image description here

In the Body section, add System variable to populate Pipeline Name in email alert as show below:

enter image description here

Execute the Pipeline:

enter image description here

Email alert would be received at the configured email having Pipeline Name:

enter image description here