Azure Data Factory Publish Error After Deleting Unused Pipelines, Dataflows, and Datasets

RizkyM 0 Reputation points
2025-04-29T07:04:44.92+00:00

So i have deleted unused data pipelines, dataflows, and datasets which roughly totals to about 200-300 items. I have also ensured that no existing data pipeline and dataflows are connected to said deleted items.

When i go to publish the updates, it always ends with an error that indicates a missing dataset/dataflow which refers to one of the deleted items like below.

Missing Dataset

If i check the detail, it gives no assistance at all.

Detail Error

I have further checked every json file in the ADF and confirmed that there are no dataset/dataflow that still refers to the deleted items. It is as if ADF is trying to find a ghost dataset/dataflow.

Should I try Overwrite live mode using the master branch or are there any alternative solutions?

Thanks

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

1 answer

Sort by: Most helpful
  1. phemanth 15,320 Reputation points Microsoft External Staff
    2025-04-29T07:56:34.6533333+00:00

    @RizkyM

    It sounds like you're encountering an issue with Azure Data Factory (ADF) after deleting unused items.

    Please check below steps and confirm us

    • As you mentioned, trying to overwrite the live mode using the master branch can help. This will sync the live environment with your Git repository, potentially resolving any discrepancies
    • Sometimes, references to deleted items might still exist in hidden or less obvious places. Double-check all linked services, triggers, and parameters to ensure there are no lingering references.
    • Clear the cache and restart the ADF service. This can sometimes resolve issues related to stale data.
    • Go to the Git configuration page in ADF and re-sync the content. This can help resolve conflicts between the Data Factory mode and Git mode
    • If the above steps don't work, you might need to manually clean up the ADF environment. This involves checking and removing any orphaned references in the JSON files and ensuring all dependencies are correctly updated.
    0 comments No comments

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.