Azure Data Factory

Azure Data Factory pipeline failed? Here’s why, and the fix.

PipelineMender AI checks your factories every 5 minutes. When a pipeline run fails, it reads the activity error, the activity input and the pipeline definition, connects the evidence, and hands you the likely root cause with a specific fix to review.

  • Reader role on the factory
  • You review every change
  • No model training
SeverityHigh
Rows written0
ConfidenceStrong

Root cause

The source now sends quantity as decimal text such as 12.50. The column mapping of Copy_OrderLines still converts it to Int32, so the copy stops at the first decimal value.

Evidence

  1. E1
    Activity outputTypeConversionFailure: '12.50' for column 'quantity' from String to Int32.
  2. E2
    Pipeline definitionThe mapping sends quantity (String) to Int32.
  3. E3
    Activity inputThe source query reads quantity as text from sales.order_lines.

Recommended fixReview before applying

01{ "source": { "name": "quantity",02             "type": "String" },03-  "sink": { "type": "Int32" } }04+  "sink": { "type": "Decimal" } }
Then widen the sink column to DECIMAL(10,2).

Read-only access

Everything a failed run leaves behind.

PipelineMender calls the Azure management API (Azure Resource Manager) as an Entra app registration with the Reader role on your factory. It never starts, changes or deletes anything.

01

Pipeline runs

Failed runs from queryPipelineRuns, with run ID, parameters and timing, checked every 5 minutes.

02

Activity runs

The failing activity’s error code, message, input and output from queryActivityRuns, so the evidence quotes the real failure.

03

Pipeline definition

The pipeline JSON: activities, queries, datasets and column mappings, so the fix points at the exact property to change.

Common failures

From the error message to the cause behind it.

A failed activity tells you where the run stopped. The report tells you why, with the evidence, the impact and the change to make.

Schema drift

Renamed or dropped columns

A source column changed and a Copy activity or data flow still maps the old name.

Data types

Values that no longer fit

Decimals arriving in an integer column, new date formats, or text too long for the sink.

Credentials

Expired secrets and lost access

A linked service password or key expired, or an identity lost its permission on a source.

Missing input

Files that were not there

The file or folder for this run had not landed yet, or an upstream pipeline did not produce it.

Timeouts

Slow sources and long activities

A source or sink was too slow to answer, or an activity ran past its timeout.

Dependencies

Upstream failures

An Execute Pipeline or earlier activity failed first, so this one never had a chance.

Error guides: Invalid column name Execution Timeout Expired String or binary data would be truncated SqlFailedToConnect AADSTS7000222 All error guides

Setup

Connect a factory in a few minutes.

  1. 01

    App registration

    Create an Entra app registration and a client secret, or reuse one you already have.

  2. 02

    Reader role

    On the data factory, open Access control and give the app the Reader role.

  3. 03

    Factory details

    Enter tenant ID, client ID, secret, subscription, resource group and factory name.

  4. 04

    Test

    Test walks the same path the poller uses and names the exact role or action that is missing.

  5. 05

    Every 5 minutes

    New failed runs become incidents and are investigated automatically.

Microsoft’s guides: Register an app Assign an Azure role Data Factory roles and permissions

Before you connect

Azure Data Factory questions.

What permissions does PipelineMender need on Azure Data Factory?

The Reader role on the factory, given to an Entra app registration. That is enough to list pipeline runs, read activity runs and read pipeline definitions. If your organization blocks the run-query actions for Reader, use Data Factory Contributor or a custom role with Microsoft.DataFactory/factories/querypipelineruns/action and Microsoft.DataFactory/factories/pipelineruns/queryactivityruns/action. Test names the one that is missing.

Does PipelineMender change or rerun my pipelines?

No. Access is read-only. You review the recommended change, apply it in your own factory, and rerun the pipeline when you are ready.

How quickly is a failed run investigated?

Factories are checked every 5 minutes. A new failed run becomes an incident and its investigation starts right away, so the report is usually ready a few minutes after the failure.

Does it work with self-hosted integration runtimes?

Yes. PipelineMender reads run results through the Azure management API, so it sees failures from Azure and self-hosted integration runtimes alike. It never connects to the runtime itself.

Which other platforms are supported?

Microsoft Fabric data pipelines and Databricks jobs, in the same workspace and the same incident list as your factories.

Last reviewed 25 October 2026 against Microsoft’s Azure Data Factory documentation.

Azure Data Factory

The next failed run gets an investigation, not a guess.