Enquiry on behavior of Azure Data Factory web activity

BrianC 120 Reputation points
2025-03-25T09:18:16.9266667+00:00

Hi community,

We have a Azure Data Factory Pipeline that involves a Web activity. I would like to know what activity status will I get if the API status code return is not 200?

Thanks in advance.

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

1 answer

Sort by: Most helpful
  1. Nandan Hegde 36,151 Reputation points MVP Volunteer Moderator
    2025-03-25T11:16:57.7833333+00:00

    Hey,

    Please refer the below blog :

    https://datasharkx.wordpress.com/2022/11/05/refresh-power-bi-dataflow-dataset-from-azure-data-factory-synapse-pipeline-via-managed-identity/

    The scenario depends on the API type, whether the API is a synchronous or an asynchronous API.
    In case if it is an asycn API, the web activity status becomes success irrespective whether the output was received or not (As the scenario in above blog)

    So you have to use a fail activity depending on the scenario of IF ELSE aspect.

    In case if the API on which you are trying to hit, has 40* error, like unauthorized; then the web activity would fail


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.