Azure Data Factory: Building Customer Data Pipelines (A Practical Guide for FDEs)
Azure Data Factory: Building Customer Data Pipelines (A Practical Guide for FDEs)
Azure Data Factory pipelines,Azure Data Factory tutorial,building data pipelines Azure,Azure Data Factory integration runtime,ADF vs Fabric Data Factory,customer data pipeline,ETL and ELT on Azure,forward deployed engineer data pipelines
Azure Data Factory is, in Microsoft's words, a cloud-based ETL and data integration service that lets you create data-driven workflows for orchestrating data movement and transforming data at scale. Microsoft describes it as a managed service built for complex hybrid extract-transform-load (ETL), extract-load-transform (ELT) and data integration projects.
In plain terms: you define pipelines, connect them to sources and destinations, choose when they run, and ADF does the moving, scheduling and monitoring. Microsoft positions it as an alternative to custom-built data movement components, which it describes as expensive and hard to integrate and maintain.
Why FDEs Meet ADF in Customer Environments
FDEs work inside the customer's world. If that world is Azure, ADF is probably already there, with pipelines written by the customer's data team years ago. You may extend, debug or replace them to feed an AI project. Our guide to AI data pipelines for messy enterprise data covers pipeline stages for AI workloads; this article covers one concrete platform.
A note on timing: Microsoft's documentation says Data Factory in Microsoft Fabric is the next generation of Azure Data Factory, and recommends that new data integration users start with Fabric. ADF remains relevant because many customers have existing estates and some capabilities differ. We compare the two below.
Core Building Blocks of Azure Data Factory
Microsoft's introduction defines the main parts of the service
Azure Data Factory Components & Analogies Matrix
Component
What it is
Plain-language analogy
Pipeline
A logical grouping of activities that performs a unit of work
A recipe
Activity
A processing step: data movement, transformation or control
One step in the recipe
Linked service
Connection information for a data store or compute resource
A connection string
Dataset
A reference to the data structures you use as inputs or outputs
A pointer to a table or file
Mapping data flow
A graph of transformation logic that runs on Spark without you managing clusters
A visual transform designer
Integration runtime
The compute bridge between activities and linked services
The kitchen where the work happens
Trigger
What determines when a pipeline run starts
The alarm clock
Parameter
Read-only configuration supplied at run time
An ingredient you swap per run
Control flow lets you chain activities, branch, loop with containers such as For-each and pass arguments between steps. Transformation can use mapping data flows or external compute such as Azure Databricks.
Integration Runtimes: Reaching the Customer's Data
The integration runtime (IR) is where many customer projects succeed or stall, because it determines how ADF reaches the data. Microsoft describes three types.
Azure Integration Runtime Types Matrix
IR type
Best for
Key facts from Microsoft's documentation
Azure IR
Cloud sources and sinks with public endpoints, or private ones via managed virtual network
Fully managed, serverless compute; scales with the data integration units set on the copy activity
Self-hosted IR
On-premises or private-network data, or bring-your-own drivers
Installed on a machine or VM
Microsoft notes that if either the source or sink linked service points to a self-hosted IR, the copy activity runs on that self-hosted IR. One logical self-hosted IR can span multiple machines in active-active mode for high availability.
For FDEs, the self-hosted IR is the usual answer to "the data is behind the customer's firewall". Because it makes outbound connections only, you generally avoid asking the customer to open inbound ports, which eases security reviews.
A Reliable Pattern for Customer Data Pipelines
ADF gives you the parts; the design is yours. This pattern is practitioner framing, not a Microsoft standard.
1. Land the raw data first
Copy source data into storage untouched, with a load date and source name. Raw copies let you replay, audit and debug without hitting the source system again.
2. Standardise and clean in a separate step
Fix types, formats and obvious errors after landing, not during the copy. See our guide to data cleaning for AI projects.
3. Resolve and publish shared entities
Match customers and products across systems and build trusted tables. See master data management and data modeling and star schema for the design behind the published layer.
4. Validate before you publish
Check row counts, null rates, key uniqueness and freshness. Fail the run or quarantine bad rows instead of silently publishing broken data.
5. Parameterise everything
Use parameters for source names, paths, dates and environments, so one pipeline serves many tables and moves from test to production unchanged. In a metadata-driven design, a control table lists what to load and a For-each loop processes it.
6. Load incrementally and make reruns safe
Full reloads are simple but slow and expensive at scale. A common approach is a watermark: store the latest modified date you loaded, then fetch only newer rows next time.
sql
SELECT *
FROM orders
WHERE last_modified > :last_watermark
AND last_modified <= :run_start;
Pair this with idempotent writes: running the same load twice gives the same result, because you merge or overwrite by key instead of appending blindly. A failed run can then be repeated without duplicates.
Security Essentials
Microsoft's documentation on data movement security covers these points:
Encryption in transit. Transfers between Data Factory and cloud data stores that support HTTPS or TLS use a secure channel, and connections to Azure SQL Database and Azure Synapse Analytics require encryption. For self-hosted IR transfers, Microsoft suggests IPsec VPN or ExpressRoute for extra protection of the on-premises to Azure channel.
Encryption at rest. Data Factory stores no temporary data, cache or logs except encrypted linked service credentials for cloud data stores. Microsoft recommends enabling each data store's own encryption at rest.
Secrets. Store data store credentials in Azure Key Vault, so Data Factory retrieves them when an activity runs and secrets are not pasted into pipeline definitions.
Firewalls. A self-hosted IR needs outbound TCP 443, and some stores require allow-listing its IP address.
Access control. Microsoft lists Microsoft Entra ID integration and role-based access control among the service's security features.
Beyond the platform, use least-privilege accounts for each source, separate environments and a record of what data moves where. Our guide to AI governance for forward deployed engineers covers accountability. If the data is regulated, involve the customer's compliance team early.
Monitoring, CI/CD and Operations
Unwatched pipelines fail quietly. Microsoft says ADF supports monitoring through Azure Monitor, an API, PowerShell, Azure Monitor logs and health panels in the Azure portal, and supports CI/CD for pipelines using Azure DevOps and GitHub.
Practical operations checklist:
Alert on failures and on runs that finish but load zero rows.
Track freshness: when was each published table last updated?
Keep definitions in source control and promote through test to production.
Document each pipeline's owner, schedule and consumers.
Plan for source changes: a renamed upstream column should fail validation loudly, not corrupt data downstream.
Azure Data Factory vs Fabric Data Factory
Microsoft calls Fabric Data Factory the next generation of ADF. According to its comparison page, key differences include:
Azure Integration Runtime (IR) Types Matrix
IR type
Best for
Key facts from Microsoft's documentation
Azure IR
Cloud sources and sinks with public endpoints, or private ones via managed virtual network
Fully managed, serverless compute; scales with the data integration units set on the copy activity
Self-hosted IR
On-premises or private-network data, or bring-your-own drivers
Installed on a machine or VM in the private network; currently Windows only; makes only outbound HTTP-based connections
Azure-SSIS IR
Lifting and shifting SQL Server Integration Services packages
Managed cluster of Azure VMs; needs a database to host the SSIS catalog
The page also says approximately 90% of ADF activities are already available in Fabric, and that new Fabric features are not backported to ADF. Our inference, not a Microsoft recommendation: choose Fabric for new, Fabric-centred work, and stay on ADF where a customer depends on SSIS, managed virtual networks or other capabilities not yet in Fabric. Check the current page, because the gaps change.
A Worked Scenario: Feeding a Customer Assistant
This is a hypothetical example to show the approach; the company and details are invented.
A mid-sized Indian distributor wants an assistant that answers account questions for its sales team. Orders sit in an on-premises ERP, contacts in a cloud CRM and tickets in a helpdesk SaaS. The customer already uses Azure.
Reach the data. The FDE installs a self-hosted integration runtime on a VM inside the customer's network for the ERP. The CRM and helpdesk use the Azure IR. Credentials live in Key Vault, with read-only service accounts per system.
Land and standardise. A parameterised pipeline copies each table nightly into a raw zone, then a second step standardises dates, currencies and phone formats.
Load incrementally. Orders use a last-modified watermark. The first run does a full load; later runs fetch changes and merge by order ID, so reruns are safe.
Publish. A matching step links the same customer across the three systems, and a published customer table feeds the assistant.
Operate. Alerts fire on failures and zero-row loads. A freshness check blocks publication if the ERP extract is over a day old, and the assistant says when data is stale.
An agent built on the platform described in Copilot Studio for FDEs could then read from the published tables.
Common Mistakes
Transforming during the copy. Land raw data first so you can replay.
Full reloads forever. Go incremental before data grows.
Non-idempotent writes. Reruns create duplicates.
Secrets in pipeline definitions. Use Key Vault.
No validation or alerts. Silent failures corrupt downstream AI.
Choosing the platform by habit. Compare ADF and Fabric for the actual customer.
Where This Fits in an FDE Career
Data integration is core to the FDE project lifecycle: discovery uncovers the systems, then pipelines make them usable. If you come from a data background, see data engineer to forward deployed engineer. For how the role differs from infrastructure-focused jobs, read forward deployed engineer vs cloud engineer. Related automation ideas appear in AI workflow automation for forward deployed engineers.
TL;DR: Azure Data Factory (ADF) is Microsoft's managed cloud service for building and scheduling data pipelines that move and transform data at scale. For a forward deployed engineer, it is often the tool already sitting in a customer's Azure environment. Build pipelines that land raw data first, load incrementally, run safely with parameters and stored secrets, reach on-premises systems through a self-hosted integration runtime, and are monitored from day one. For new projects, check whether Fabric's Data Factory is the better starting point, since Microsoft calls it the next generation.
Frequently Asked Questions
What is Azure Data Factory used for?
Azure Data Factory is used to build, schedule and monitor data pipelines that move and transform data between sources and destinations, supporting ETL, ELT and hybrid data integration across cloud and on-premises systems.
What are the main components of Azure Data Factory?
Pipelines, activities, linked services, datasets, mapping data flows, integration runtimes, triggers and parameters. Pipelines group activities, linked services hold connection details, and integration runtimes provide the compute.
How do you connect Azure Data Factory to on-premises data?
Install a self-hosted integration runtime on a machine or VM inside the private network. It makes outbound connections only, so you generally do not need to open inbound ports from the public cloud.
How do you secure credentials in Azure Data Factory?
Store credentials in Azure Key Vault so Data Factory retrieves them when an activity runs, use encrypted connections, give each source a least-privilege account, and control access with Microsoft Entra ID and role-based access control.
How do you do incremental loads in Azure Data Factory?
Use a watermark such as a last-modified timestamp: store the latest value you loaded, fetch only newer rows on the next run, and write with a merge or overwrite so reruns are safe.
Should I use Azure Data Factory or Fabric Data Factory?
Microsoft calls Fabric Data Factory the next generation and recommends new users start there. Existing estates, or workloads that need features not yet in Fabric such as Azure-SSIS runtimes or managed virtual networks, may still suit ADF. Check the current comparison before deciding.
Become one of India’s first Forward-Deployed Engineers.
The world is hiring - and this Academy prepares you for it.