Working with Fail Activity in Azure Data Factory


Introduction

In this article, we will talk about a newly introduced activity in Azure Data Factory, which is the fail activity. The fail activity is very useful to stop or fail the pipeline at the specified point. For example, a lookup activity might return no data or a switch activity executes the default block. We can use fail activity in such scenarios and customize both error messages and error codes.

Fail Activity

Let’s go to the author page in Azure Data Factory:

Create a new pipeline from the factory resources menu options:

The Fail activity is available is