Data factory pipeline automation

how-to Steps to accomplish one task

On this page

In this article, you will learn how to configure pipeline automation to synchronize data between Microsoft Purview (Unified Data Governance) and CluedIn using either Azure Data Factory or Fabric Data Factory.

CluedIn can automatically provision and execute pipelines for assets that you tag in Purview with a designated glossary term. You can choose from the following orchestration engines:

  • Azure Data Factory (ADF) – traditional Azure service.

  • Fabric Data Factory (FDF) – Data Factory experience within Microsoft Fabric.

Supported sources and formats

Orchestrator Azure Data Lake (ADLS) Azure SQL Database/SQL Server Snowflake Fabric Files Fabric Table
Azure Data Factory (ADF) Supported (all file formats) Supported Supported Supported (all file formats except Parquet) Not supported
Fabric Data Factory (FDF) Supported (all file formats) – – Supported (all file formats including Parquet) Supported

Note the following:

  • Fabric Files refer to the files stored in Fabric OneLake item folders (Lakehouse and so on).

  • If you need Parquet in Fabric Files or to automate Fabric Table ingestion, use Fabric Data Factory.

Choosing the right orchestrator

Use the following guidance to select the most suitable orchestrator for your scenario:

  • Choose Azure Data Factory (ADF) if:

    • You need to automate data pipelines involving ADLS files (any format), Azure SQL Database/SQL Server, or Snowflake sources.

    • You do not require support for Parquet files in Fabric Files or Fabric Tables.

  • Choose Fabric Data Factory (FDF) if you need to automate data pipelines involving ADLS files (any format), Fabric Files (including Parquet), or Fabric Tables.

Prerequisites

Before you begin, ensure that you have the following:

  • Access to Microsoft Purview and a glossary you can edit.

  • A CluedIn tenant with administrator permissions.

  • One of the following orchestration environments available to you:

    • An Azure Data Factory (ADF) resource.

    • Or, a Fabric workspace with Fabric Data Factory (FDF) enabled.

Configure data factory pipeline automation

This section outlines the setup steps required to automate pipelines in CluedIn, depending on the orchestrator you choose.

Configure data factory pipeline automation using Azure Data Factory (existing flow)

Follow these steps to prepare Azure Data Factory (ADF) and Microsoft Purview, and then configure the required settings in CluedIn.

To configure data factory pipeline automation using Azure Data Factory

  1. Create and verify Azure resources:
    1. Create (or identify) an ADF resource in the correct subscription/resource group.

      Overview page of the adf-cluedin-weu-dev Azure Data Factory resource in the Azure portal, with the Launch studio button

    2. (Optional) Create an Azure Key Vault to hold secrets.

      Overview page of the kv-rna-cluedin-test-weu Azure Key Vault in the Azure portal

  2. Set up a service principal. Follow the steps outlined in Create and configure the service principal to create app registration and client secret. There are no ADF‑specific differences for this step.

  3. Assign roles and permissions:
    1. In ADF, assign the service principal the Contributor role (or a least‑privileged custom role that allows pipeline authoring and execution).

      Add role assignment page for the data factory with the Contributor role highlighted under Privileged administrator roles

    2. If you are using Key Vault, grant the Get and List secret permissions.

      Create an access policy for a key vault with the Get and List secret permissions selected

    3. Grant data‑plane access where needed:

      • ADLS Gen2: Storage Blob Data Reader (read) and/or Storage Blob Data Contributor (write) on the target containers.

      • Azure SQL/SQL Server: Grant database-level read and/or write access as required.

      • Snowflake: Map a Snowflake user/role and grant warehouse/database/schema/table privileges.

  4. Prepare Purview. Follow the steps outlined in Create and apply Purview glossary term to create and apply the term. There are no ADF‑specific differences for this step.

  5. Configure CluedIn (ADF settings). In CluedIn, go to Administration > Azure Integration > Purview. Then, do the following:

    • In Azure Data Factory Base Url, enter the resource ID URL of your ADF. For example, /subscriptions/.../resourceGroups/.../providers/Microsoft.DataFactory/factories/<name>.

    • Enter the data factory Client ID, Client Secret, and Tenant ID (service principal from step 2).

    • Set Pipeline Automation Term Pattern to the glossary term created in Purview (for example, CluedIn_Automate).

    • Enable Data Factory Pipeline Automation.

      Data Factory settings in CluedIn: base URL, client ID, client secret, tenant ID, Data Factory Pipeline Automation enabled, and Pipeline Automation Term Pattern CluedInADF

  6. Validate the setup in ADF:
    1. In ADF Studio, go to Author and confirm that CluedIn created the Pipelines and Datasets for your tagged assets.

      ADF Studio Factory Resources pane showing the AccountCsvPipeline pipeline and two datasets created by CluedIn, highlighted

    2. Go to Manage > Linked services and verify the connections (for example, REST to CluedIn, ADLS/SQL/Snowflake as needed).

      ADF Studio Linked services list with Azure Data Lake Storage Gen2, Azure Key Vault and REST linked services highlighted

    3. Go to Monitor > Pipeline runs and verify that pipeline execution was successful.

      ADF Studio Pipeline runs showing AccountCsvPipeline with status Succeeded

  7. Verify the ingestion in CluedIn. In the target data source in CluedIn, confirm that the following:

    • A dataset exists for each automated asset.

    • Rows are flowing correctly.

      CluedIn notifications: ADF Pipelines Created for two Purview assets, and Ingestion Endpoints created for Azure Data Factory

Configure data factory pipeline automation using Fabric Data Factory (new flow)

CluedIn now supports pipeline automation through Fabric Data Factory (FDF). Use this option when you need to automate:

  • Parquet files inside Fabric Files (OneLake).

  • Fabric Tables ingestion.

Prerequisites

  • Ensure that you have a Fabric workspace with the capacity and permissions to create data factory items.

    Fabric workspaces list with the CluedInLakehouse space workspace selected

To configure data factory pipeline automation using Fabric Data Factory

  1. Register (or reuse) the service principal:
    1. Use the same app registration as for Azure Data Factory (ADF) or create a separate one following the steps outlined in the Create and configure the service principal section.

    2. Ensure that the identity has Contributor (or equivalent) access for the Fabric workspace.

      Fabric workspace Manage access pane, adding an identity to the CluedInLakehouse space with the Contributor role highlighted

  2. Prepare Purview. Follow the steps outlined in Create and apply Purview glossary term to create and apply the term. There are no Fabric‑specific differences for this step.

  3. Configure CluedIn (Fabric settings). In CluedIn, go to Administration > Azure Integration > Purview (or Fabric section). Then, do the following:

    • In Fabric Data Factory Base Url, enter https://api.fabric.microsoft.com/<workspaceId> (replace <workspaceId> with your Fabric workspace ID).

    • Enter the data factory Tenant ID, Client ID, and Client Secret for the service principal.

    • Enable Data Factory Pipeline Automation.

    • Set the Pipeline Automation Term Pattern to your Purview term (for example, CluedIn_Automate).

    Data Factory settings in CluedIn: base URL, client ID, client secret, tenant ID, Data Factory Pipeline Automation enabled, and Pipeline Automation Term Pattern CluedInADF

  4. Validate the setup in FDF:

    1. In your Fabric workspace, go to Data Factory and verify that pipelines were created for the tagged assets.

      CluedInLakehouse space workspace filtered to pipelines, listing Ingest Data Pipeline items created for CluedIn datasets

    2. Run or monitor the pipelines as needed and confirm their successful execution.

      Fabric Monitor page filtered to Succeeded, listing Ingest Data Pipeline runs that succeeded

  5. Verify the ingestion in CluedIn. In the target data source, confirm that datasets are present and data is flowing.

Create and configure the service principal

This section applies to: Azure Data Factory (ADF), Fabric Data Factory (FDF).

Use a single service principal (app registration) for automation, or separate ones per platform if your organization prefers stricter isolation. CluedIn uses this identity to authenticate with Azure resources and orchestrators.

Security tips

  • Store secrets in Azure Key Vault and reference them wherever supported.

  • Use short‑lived client secrets or certificates with rotation policies.

  • Limit the service principal’s scope using resource‑level RBAC and data‑plane roles.

To create and configure the service principal

  1. Complete the app registration (Microsoft Entra ID). Register a new application (or choose an existing one dedicated to data movement).

    App registrations page in the Microsoft Entra admin center with the New registration button highlighted

  2. Create a client secret. Copy the value securely. You will store this information in CluedIn (and, optionally, in Key Vault).

    Certificates and secrets page of the CluedInPurviewSPN app registration with the New client secret button highlighted

  3. Record and securely store the following identifiers:
    • Tenant ID

    • Client (Application) ID

    • Client Secret Value

  4. Set up the required roles and permissions.

    Assign the minimum access necessary. If your organization uses PIM, ensure that the service principal can activate the roles when needed.

    For ADF:

    • Resource role: Contributor role on the ADF resource (or a custom role with dataFactory/* as appropriate).

    • Key Vault (if used): Get and List on secrets.

    • Data sources (as applicable):

      • ADLS Gen2: Storage Blob Data Reader (read) and/or Storage Blob Data Contributor (write) on the target containers.

      • Azure SQL/SQL Server (via MI/private link): Grant the database permissions per your policy (for example, read on source, write on staging).

      • Snowflake: Create and assign a Snowflake user/role mapped to this automation and grant the warehouse/database/schema/table privileges as needed.

    For FDF:

    • Fabric workspace: Contributor role (or a role that allows creating and running data factory pipelines).

    • OneLake/Fabric items:

      • Lakehouse or files: Grant permissions on the workspace or item folders.

      • Fabric Table: Ensure that the service principal can read from/write to the Lakehouse and run pipelines that materialize/ingest tables.

    • External sources (such as ADLS): Grant the same storage roles as above when reading from or landing to ADLS.

  5. In CluedIn, go to Administration > Azure Integration > Purview. Then, do the following:

    • Enter the data factory Tenant ID, Client ID, and Client Secret for the service principal.

    • Enable the desired automation options and set the Term Pattern used in Purview.

    Data Factory settings in CluedIn: base URL, client ID, client secret, tenant ID, Data Factory Pipeline Automation enabled, and Pipeline Automation Term Pattern CluedInADF

Create and apply Purview glossary term

This section applies to: Azure Data Factory (ADF), Fabric Data Factory (FDF).

Use a single glossary term in Microsoft Purview to mark assets for automation. CluedIn looks for this term to decide which assets to ingest.

To create and apply a Purview glossary term

  1. In the Microsoft Purview portal, go to Unified Catalog > Catalog management > Classic types and create or select your glossary.

    Microsoft Purview Unified Catalog, Classic types page on the Glossaries tab, with the New glossary button highlighted

  2. Create a new term (for example, CluedInADF).

    Purview glossary term CluedInADF overview page with no catalog assets associated yet

  3. Apply the term to each asset that you want CluedIn to ingest (for example, ADLS path, Fabric file or folder, and so on).

    Purview glossary term CluedInADF with Catalog assets showing 1 asset associated and a View asset link, highlighted

    In CluedIn settings, you will reference this exact term string as the term pattern.

Troubleshooting and tips

  • If no pipelines appear after tagging assets, verify that the term pattern in CluedIn exactly matches the glossary term defined in Purview.

  • For permission errors, review Key Vault policies (for ADF) or Fabric connection credentials.

  • When switching orchestrators, make sure that only one automation path targets each asset to prevent duplicate executions.