Domain 1 β€” Module 3 of 8 38%
3 of 26 overall
Domain 1: Implement and Manage an Analytics Solution Free ⏱ ~12 min read

Deployment Pipelines: Dev to Production

Create and configure deployment pipelines to promote Fabric content safely across development, test, and production workspaces.

What are deployment pipelines?

Simple explanation

Think of a restaurant kitchen with three stations.

Station 1 (Dev) is where the chef experiments with new recipes. Station 2 (Test) is where a taster checks the dish. Station 3 (Production) is where it goes to the customer’s table.

A deployment pipeline in Fabric is that three-station system for your analytics content. You build in Dev, validate in Test, and promote to Production. The pipeline handles the transfer β€” you don’t manually copy anything. If a pipeline breaks in Test, Production stays untouched.

How deployment pipelines work

The stage model

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    Deploy    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    Deploy    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Dev    β”‚ ──────────► β”‚   Test   β”‚ ──────────► β”‚  Production  β”‚
β”‚ Workspaceβ”‚              β”‚ Workspaceβ”‚              β”‚  Workspace   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Each stage is linked to exactly one Fabric workspace
  • Deploy forward promotes content from one stage to the next
  • Deploy backward is also supported (e.g., resetting Test from Production)
  • Up to 10 stages β€” most teams use 3 (Dev/Test/Prod)

What happens during deployment

StepAction
1. CompareFabric compares items in source and target stages
2. DiffShows you what’s new, modified, deleted, or unchanged
3. ReviewYou decide which items to include in this deployment
4. DeploySelected items are copied to the target workspace
5. Rules appliedDeployment rules swap parameters, data sources, connections

Deployment rules

Deployment rules are the key to making the same content work across environments. Without them, your production pipeline would try to read from your dev database.

Rule TypeExample
Data source rulesDev reads from dev-sqlserver.database.windows.net; Prod reads from prod-sqlserver.database.windows.net
Parameter rulesenvironment parameter = β€œdev” in Dev, β€œprod” in Production
Lakehouse rulesDev pipeline loads to dev-lakehouse; Prod loads to prod-lakehouse
Scenario: Ibrahim's three-stage pipeline

Ibrahim configures a deployment pipeline for Nexus Financial’s risk analytics:

  • Dev workspace: Engineers iterate on notebooks and pipelines. Data source: a sample of 10,000 trades.
  • Test workspace: QA runs the full pipeline against a copy of production data. Deployment rules swap the data source to the test database.
  • Production workspace: Serves the risk dashboard to traders. Deployment rules point to the live trading database.

Every Friday, the lead engineer reviews changes in Dev, deploys to Test, runs validation overnight, and if tests pass, deploys to Production on Monday morning.

Git integration + deployment pipelines

These two features solve different problems and work best together.

Git tracks changes; deployment pipelines promote them
AspectGit IntegrationDeployment Pipelines
PurposeVersion control β€” track who changed what and whenRelease management β€” promote content between environments
Main actionCommit/update (sync workspace with repo)Deploy (copy items between stages)
Rollback methodRevert to a previous Git commitDeploy backward from a known-good stage
Environment configBranch per environment (dev, main)Deployment rules swap data sources and parameters
Review processPull requests with code reviewDeployment comparison shows diff between stages
Best forCollaboration, audit trail, branchingControlled releases, environment-specific config
Exam tip: When to use which

Exam questions often describe a scenario and ask which tool solves it:

  • β€œAn engineer needs to see what changed last week” β†’ Git integration (commit history)
  • β€œThe team needs to promote tested changes to production” β†’ Deployment pipeline
  • β€œTwo engineers changed the same notebook” β†’ Git integration (branch + merge via PR)
  • β€œProduction pipeline needs to read from a different server than Dev” β†’ Deployment rules
  • β€œThe team wants to automate deployment after a PR is merged” β†’ Git integration triggers a deployment pipeline (CI/CD)

Automating deployments

Deployment pipelines have a REST API, which means you can trigger deployments from external CI/CD tools:

  • Azure DevOps Pipeline β€” merges a PR β†’ calls the Fabric deployment pipeline API β†’ content promotes to Test
  • GitHub Actions β€” same pattern, different tool
  • You can automate deployments on a schedule by calling the Fabric deployment pipeline REST API from Azure DevOps or GitHub Actions β€” deploy at a fixed time (e.g., every Monday 6 AM)
Scenario: Carlos automates Friday deployments

Carlos sets up an Azure DevOps pipeline for Precision Manufacturing’s Fabric workspace:

  1. Engineers commit changes to the dev branch during the week
  2. Friday at 3 PM, a scheduled Azure DevOps pipeline runs
  3. It calls the Fabric deployment pipeline API to promote Dev β†’ Test
  4. Overnight, automated tests validate the ETL outputs
  5. Monday at 7 AM, if tests pass, a second pipeline promotes Test β†’ Production

No manual clicks. The entire release cycle is automated and auditable.


Question

How many stages can a Fabric deployment pipeline have?

Click or press Enter to reveal answer

Answer

Up to 10 stages. Most teams use 3 (Development β†’ Test β†’ Production). Each stage maps to exactly one workspace.

Click to flip back

Question

What are deployment rules?

Click or press Enter to reveal answer

Answer

Configuration overrides that swap values when content moves between stages. Common rules: data source URLs, connection strings, parameters, and lakehouse references. They ensure Dev content reads from dev resources while Production reads from live resources.

Click to flip back

Question

Can you deploy backward in a Fabric deployment pipeline?

Click or press Enter to reveal answer

Answer

Yes. You can deploy from any stage to any adjacent stage β€” forward (Dev β†’ Test) or backward (Production β†’ Test). Backward deployment is useful for resetting a broken Test environment to match Production.

Click to flip back


Knowledge Check

A data engineer deploys a pipeline from Dev to Production without configuring deployment rules. The production pipeline starts pulling data from the development database. What should the engineer have done?

Knowledge Check

Ibrahim wants to automate the promotion of Fabric content from Test to Production every Monday at 7 AM, but only if weekend tests pass. Which approach is most appropriate?

Next up: Access Controls: Who Gets In β€” configure workspace and item-level permissions to control access.