Azure Data Factory Trigger Run status shows as "Succeeded" for failed pipeline execution

KranthiPakala-MSFT 46,437 Reputation points Microsoft Employee

I have a daily trigger scheduled in the azure data factory. The pipeline encountered an error upon execution. but the trigger run is showing "Succeeded" status.

I am expecting the trigger run should marks status as "Failed" instead of "Succeeded".

Is this a bug in the Azure Data Factory Trigger?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] Source: MSDN

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,075 questions
0 comments No comments
{count} vote

Accepted answer
  1. HimanshuSinha-msft 601 Reputation points

    Welcome to the Microsoft Q&A (Preview) platform.

    Happy to answer your query.

    Please allow me a moment to explain about triggers vs pipelines.

    Triggers and pipelines are different. The main purpose of a trigger is to start / kick-off a pipeline run. In most cases what you want to track is the pipeline run status, not the trigger status.

    For scheduled triggers and event triggers: If the trigger fails, the pipeline never starts. If the trigger succeeds, the pipeline run starts. The trigger does not care about whether the pipeline succeeds or fails, only that it starts.

    Also, please note that a pipeline run can succeed even if one of its activities fails. That is a separate topic.

    While rare, a trigger can fail. This could be due to concurrency, throttling, or something else.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful