πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided PL-400 Domain 2
Domain 2 β€” Module 3 of 3 100%
8 of 26 overall

PL-400 Study Guide

Domain 1: Create a Technical Design

  • Solution Architecture: What Goes Where Free
  • Security by Design: Auth, Roles & DLP Free
  • Designing UX Components: Canvas, PCF & Client Scripts Free
  • Designing Platform Extensions: Connectors, Plug-ins & APIs Free
  • Integration & Automation Blueprints Free

Domain 2: Build Power Platform Solutions

  • Environment Setup & Security Troubleshooting
  • Solutions & Layers: ALM Foundations
  • CI/CD Pipelines for Power Platform

Domain 3: Implement Power Apps Improvements

  • Advanced Power Fx & Canvas Components
  • Troubleshoot & Optimise Apps

Domain 4: Extend the User Experience

  • Client Scripting: Form Events & the Client API
  • Commands, Buttons & Custom Page Navigation
  • PCF Components: Build & Lifecycle
  • PCF Components: Package, Deploy & Advanced Features

Domain 5: Extend the Platform

  • The Plug-in Pipeline: How Dataverse Processes Events Free
  • Writing Plug-ins: Business Logic, Service & Registration
  • Custom APIs & Business Events
  • Custom Connectors: OpenAPI & Authentication
  • Custom Connectors: Azure, Policies & Code
  • Dataverse APIs: Web API & Organisation Service
  • Azure Functions for Power Platform
  • Cloud Flows: Dataverse Triggers & Expressions
  • Cloud Flows: Security, Errors & Child Flows

Domain 6: Develop Integrations

  • Publishing Dataverse Events
  • Service Endpoints: Webhooks, Service Bus & Event Hub
  • Data Sync: Change Tracking, Alternate Keys & Upsert

PL-400 Study Guide

Domain 1: Create a Technical Design

  • Solution Architecture: What Goes Where Free
  • Security by Design: Auth, Roles & DLP Free
  • Designing UX Components: Canvas, PCF & Client Scripts Free
  • Designing Platform Extensions: Connectors, Plug-ins & APIs Free
  • Integration & Automation Blueprints Free

Domain 2: Build Power Platform Solutions

  • Environment Setup & Security Troubleshooting
  • Solutions & Layers: ALM Foundations
  • CI/CD Pipelines for Power Platform

Domain 3: Implement Power Apps Improvements

  • Advanced Power Fx & Canvas Components
  • Troubleshoot & Optimise Apps

Domain 4: Extend the User Experience

  • Client Scripting: Form Events & the Client API
  • Commands, Buttons & Custom Page Navigation
  • PCF Components: Build & Lifecycle
  • PCF Components: Package, Deploy & Advanced Features

Domain 5: Extend the Platform

  • The Plug-in Pipeline: How Dataverse Processes Events Free
  • Writing Plug-ins: Business Logic, Service & Registration
  • Custom APIs & Business Events
  • Custom Connectors: OpenAPI & Authentication
  • Custom Connectors: Azure, Policies & Code
  • Dataverse APIs: Web API & Organisation Service
  • Azure Functions for Power Platform
  • Cloud Flows: Dataverse Triggers & Expressions
  • Cloud Flows: Security, Errors & Child Flows

Domain 6: Develop Integrations

  • Publishing Dataverse Events
  • Service Endpoints: Webhooks, Service Bus & Event Hub
  • Data Sync: Change Tracking, Alternate Keys & Upsert
Domain 2: Build Power Platform Solutions Premium ⏱ ~13 min read

CI/CD Pipelines for Power Platform

Stop deploying manually. Learn how to automate solution deployment with Power Platform Pipelines, Azure DevOps Build Tools, and GitHub Actions β€” from export to production in one click.

Why automate deployment?

β˜• Simple explanation

Imagine a pizza shop where orders are delivered by hand.

The chef makes the pizza, walks to the delivery van, drives to the customer, walks back, and starts the next pizza. Slow, error-prone, and the chef cannot focus on cooking.

Now imagine a conveyor belt system: the chef puts the pizza on the belt, it moves to quality check, then packaging, then delivery. The chef focuses on cooking while the belt handles logistics.

CI/CD pipelines are the conveyor belt for your Power Platform solutions. You commit your changes, and the pipeline automatically exports, tests, and deploys them through dev β†’ test β†’ production. No manual steps, no forgotten configurations, no β€œit worked on my machine.”

CI/CD for Power Platform automates the solution lifecycle: exporting solutions from development, running quality checks (solution checker, tests), and deploying managed solutions to target environments. Two approaches exist:

Power Platform Pipelines (native, in-platform) provide a low-code deployment experience directly within the Power Platform admin centre. They require minimal setup and support stage-gate approvals.

Power Platform Build Tools (for Azure DevOps and GitHub Actions) provide full CI/CD pipeline capabilities with tasks/actions for solution export, import, solution checker, environment management, and more. They offer greater flexibility and integrate with existing DevOps workflows.

The exam tests both approaches and expects you to know when each fits.

Two approaches to CI/CD

Native Pipelines are simpler; Build Tools (Azure DevOps) and Power Platform Actions (GitHub) are more powerful
FeaturePower Platform Pipelines (Native)Build Tools for Azure DevOps / Power Platform Actions for GitHub
Setup complexityLow β€” configure in admin centreMedium β€” requires YAML pipeline definition
Target audienceAdmins, citizen developersPro developers, DevOps engineers
CustomisationLimited β€” predefined stagesFull β€” any task in the pipeline
Pre-deployment checksSolution checker (built-in)Solution checker + custom tests + any tool
Approval gatesBuilt-in approval workflowAzure DevOps approvals or GitHub environment protection rules
Source controlNo β€” solution stays in DataverseYes β€” solution unpacked to Git repo
RollbackManual (reimport previous version)Automated (Git revert + redeploy)
Best forSimple deployments, small teamsEnterprise ALM, multi-team, complex workflows

Power Platform Pipelines

Native pipelines let you deploy solutions through stages without leaving the Power Platform admin centre.

How they work

  1. Define stages β€” Map environments to pipeline stages (Dev β†’ Test β†’ Prod)
  2. Deploy β€” Select a solution, choose the target stage, click Deploy
  3. Approval β€” If configured, the deployment waits for approval before proceeding
  4. Validation β€” Solution checker runs automatically to catch issues

Extending pipelines

You can extend native pipelines with:

  • Pre-deployment and post-deployment hooks β€” cloud flows that run before or after deployment
  • Custom stages β€” add intermediate environments (e.g., UAT between Test and Prod)
  • Approval workflows β€” require specific users or groups to approve before deployment proceeds
πŸ’‘ Scenario: Elena sets up pipelines at Meridian Healthcare

Elena Vasquez configures Power Platform Pipelines for Meridian Healthcare’s claims solution:

  • Stage 1: Development β†’ meridian-dev environment (Kai builds here)
  • Stage 2: Test β†’ meridian-test (QA team validates)
  • Stage 3: Production β†’ meridian-prod (live system)
  • Approval: Test β†’ Prod requires Elena’s approval
  • Pre-deployment hook: A cloud flow backs up the current production solution before deployment
  • Post-deployment hook: A flow sends a Teams notification to the IT support channel

This gives the team a one-click deployment with safety checks built in.

Power Platform Build Tools

For teams that need full CI/CD control, Build Tools integrate Power Platform with Azure DevOps pipelines or GitHub Actions.

Key tasks/actions

TaskWhat It Does
Who Am IVerify connection to the environment
Export SolutionExport a solution (managed or unmanaged) from source environment
Unpack SolutionExtract solution into individual files for source control
Pack SolutionRepackage individual files into a solution ZIP
Import SolutionImport solution into target environment
Publish CustomizationsPublish all pending customisations in the target environment
Solution CheckerRun static analysis on the solution for best practice violations
Set Solution VersionUpdate the solution version number (supports SemVer)
Delete SolutionRemove a solution from an environment

A typical CI/CD pipeline

Developer workflow (source control):
  1. pac auth create --environment dev-url
  2. pac solution export --path solution.zip          (UNMANAGED β€” the working copy)
  3. pac solution unpack --zipfile solution.zip --folder ./src
  4. Commit unpacked solution to Git (source of truth)
  5. Push to main branch

CI (Build pipeline β€” triggered by push):
  6. pac solution pack --folder ./src --zipfile managed.zip --type Managed
  7. Run solution checker on managed.zip
  8. Publish managed.zip as a pipeline artifact

CD (Deploy to Test):
  9. pac auth create --environment test-url
  10. pac solution import --path managed.zip --activate-plugins
  11. Run integration tests

CD (Deploy to Prod β€” after approval):
  12. pac auth create --environment prod-url
  13. pac solution import --path managed.zip --activate-plugins
  14. pac solution publish
πŸ’‘ Exam tip: pac CLI commands for CI/CD

The exam expects you to know the pac CLI commands used in CI/CD pipelines:

  • pac solution export β†’ exports from an environment
  • pac solution import β†’ imports to an environment
  • pac solution unpack β†’ extracts to source-controllable files
  • pac solution pack β†’ creates a ZIP from unpacked files
  • pac solution check β†’ runs solution checker
  • pac auth create β†’ authenticates to an environment using service principal

Service principal authentication (--applicationId, --clientSecret, --tenant) is used in pipelines because they run unattended β€” no user to sign in interactively.

Question

What is the difference between Power Platform Pipelines and Build Tools?

Click or press Enter to reveal answer

Answer

Pipelines are native to Power Platform β€” low-code, configured in the admin centre, best for simple deployments. Build Tools integrate with Azure DevOps or GitHub Actions β€” YAML-based, fully customisable, support source control, and are best for enterprise ALM with complex workflows.

Click to flip back

Question

Why should you unpack solutions into source control?

Click or press Enter to reveal answer

Answer

Unpacking a solution (pac solution unpack) extracts it into individual XML, JSON, and YAML files. These can be committed to Git, enabling version history, diff reviews, branch-based development, and merge conflict resolution β€” the same practices used in traditional software development.

Click to flip back

Question

How does a CI/CD pipeline authenticate to Power Platform?

Click or press Enter to reveal answer

Answer

Using a service principal (application registration in Entra ID). The pipeline uses an application ID, client secret (or certificate), and tenant ID to authenticate without user interaction. The service principal must be registered as an application user in each target Dataverse environment with appropriate security roles.

Click to flip back

Knowledge Check

Elena's team uses Azure DevOps to deploy solutions. A developer pushes changes to the main branch. The pipeline exports the solution from dev, runs solution checker, and imports into test. But the import fails with 'missing dependency' on a table from another solution. What should Elena do to prevent this?

🎬 Video coming soon

Next up: Advanced Power Fx & Canvas Components β€” writing complex formulas, building component libraries, and integrating Power Automate from canvas apps.

← Previous

Solutions & Layers: ALM Foundations

Next β†’

Advanced Power Fx & Canvas Components

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.