Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
Srisakthi
Continued Contributor
Continued Contributor

Data Pipeline failure alert

Hello Everyone,

 

I have tried adding MSteams activity when one of my activity fails. But is there anyway to alert when my pipeline fails?

Is there anyway to alert my data engineers when my pipeline fails?

 

Regards,

Srisakthi

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

Unfortunately, unlike ADF wherein you can have in built alerts to notify in case of pipeline failures; in fabric data pipelines you have to explictily manage the failure notifications yourself.

 

Rather than having team/outlook activity after each activity, you can use the below method :

https://www.c-sharpcorner.com/article/error-logging-and-the-art-of-avoiding-redundant-activities-in-...




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

6 REPLIES 6
NandanHegde
Super User
Super User

Unfortunately, unlike ADF wherein you can have in built alerts to notify in case of pipeline failures; in fabric data pipelines you have to explictily manage the failure notifications yourself.

 

Rather than having team/outlook activity after each activity, you can use the below method :

https://www.c-sharpcorner.com/article/error-logging-and-the-art-of-avoiding-redundant-activities-in-...




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
Srisakthi
Continued Contributor
Continued Contributor

Hello,

 

I know that we can an activity to my pipeline and use OnFail action to take further actions by sending it to Outlook, teams or even i can use web activity to log it somewhere. Here the questions suppose i have 10 activity in my pipeline , do I need to add OnFail for each activity? I want to add only at one place and send a notification.

 

I found one way which is to add the respective pipeline in another pipeline(and use invoke pipeline) and attach to notification activity. Is there any other approach?

 

Regards,

Srisakthi

you can add all activities and conenct them on success of first activity, second activity shoud run and on success of second activity, 3rd activity should run, like this you have to attach first, and at the end of last activity, you should add teams or outlook activity on failure of last activity.

so that if any activty fails then pipeline also gets fails, then you will get mail notification.

 

SudhavaniKolla3_1-1732080157199.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Plz refer this :

https://www.c-sharpcorner.com/article/error-logging-and-the-art-of-avoiding-redundant-activities-in-...

 

@SudhavaniKolla3 The above flow that you have created wont work in case if there is any failure in lookup or copy or dataflow activity. plz refer the above blog for the correct flow creation




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
spencer_sa
Super User
Super User

In addition to sending an Outlook message (as SudhavaniKolla3 says) you can also use the Teams activity to send a message to a Teams group or channel.

spencer_sa_1-1731715241065.png


Be aware, using the OnFail flow anchors in pipeline activities is akin to a try: exception: block in that the main pipeline will no longer fail on that activity failing, so you'll need to add an explicit 'Fail' activity to force the main pipeline to fail.

spencer_sa_0-1731715160625.png

 

 

SudhavaniKolla3
Helper II
Helper II

Hi, you can use Outlook 

SudhavaniKolla3_0-1731690592698.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors