Skip to content

Power Platform Pipelines: DevSecOps Without a Dev Team

Power Platform pipelines give a small IT team a real production gate: managed targets, a delegated approver and automatic checks on import. Here is the setup.

Citizen Development Academy 10 min read

A production app with no promotion history, no rollback and no named approver cannot answer the first audit question: who approved this, and what changed? Power Platform pipelines store the artifact for every deployment, and with delegated deployments and the rollback setting turned on, they answer that question too.

Our view: pipelines are the right production path for every solution-based app your makers build, and a custom Azure DevOps build is not where a team without developers should start. Power Platform ALM for a small IT team means taking the gate Microsoft already ships and configuring it tightly before anyone writes a YAML file. If your makers deploy by manual export and import, or through personal pipelines on the platform host, the controls below close that gap without a hire. AI-built apps from Copilot Cowork, Copilot Studio and outside tools make this more urgent, not different. This piece goes one level below the five steps in how IT governs AI-built apps.

Power Platform pipelines are the baseline, and each target has its own clock

The admin deployment page sets the rule: “Pipeline target environments must be managed environments. Enforcement began rolling out in October 2026. Targets that are already managed aren’t affected.”

The clock, per target environment

  1. Initial grace period: “30 days from the first deployment to an unmanaged target after enforcement is enabled.” Deployments continue.
  2. Acknowledgement: “Deployments pause until a maker or tenant administrator acknowledges the prompt.”
  3. Extension: “One time, for 30 days from acknowledgement.”
  4. Blocked: “Deployments stop until a tenant administrator enables managed environments on the target.”

There is no tenant-wide date: each target’s clock starts with its first deployment after enforcement is enabled.

The same page is clear about scope: “Enforcement blocks new deployments only. Deployed apps and solutions continue to run.” It also says who acts: “Makers can’t enable managed environments; if you’re blocked, ask your tenant administrator.” Acknowledging the extension does not solve it either: it “only starts the one-time extension. A tenant administrator must enable managed environments to remove the requirement.” That puts the work on your desk.

The fastest fix is automatic conversion, once the licenses in the next section are budgeted. With the setting “Enable automatic conversion of pipelines environments to managed environments” on, “An unmanaged target becomes managed on its next deployment, so the grace period doesn’t apply.” The caveat matters: “Review your license coverage before turning this setting on. Turning it off doesn’t remove the managed environment requirement.”

Why pipelines and not manual import? “The same solution artifact must pass through pipeline stages in sequential order. The system also prevents any tampering or modification to the exported solution artifact.” Every deployment gets a stored backup. Rollback needs a setting: “If the pipeline setting is enabled, you can redeploy previous solution versions from the run history view on the Pipelines page.” And “Solution deployments are prevalidated against the target environment to prevent mistakes and improve success rates.”

The practitioner caveat is personal pipelines. The platform host docs list the limits: “Personal pipelines can’t be extended.” “Only three environments, a source, and two subsequent targets, can be configured.” “Personal pipelines can’t be shared with other users.” Fix this with a custom host. The admin deployment page gives the path: “Go to the Power Platform admin center > Deployments > Settings > Use a custom pipelines host, and then select a custom pipelines host. If there’s no existing custom host, create one.”

Takeaway: open Deployments in the Power Platform admin center today, list every pipeline target that is not yet a managed environment, and decide on automatic conversion this week.

Managed environments cost licenses. Here is what they buy

Learn states: “Licenses granting premium use rights are required for all managed environments.” Per the source code integration FAQ, “All users within the environment must meet license requirements for managed environments.” Budget for every user in a Git-bound environment, not only the maker.

The rule is not new. The admin deployment page says: “Pipeline targets have always been required to be managed environments.” The pipelines FAQ adds: “The pipelines host should be a production environment, but the pipelines host doesn’t have to be a managed environment. All other environments used in pipelines must be enabled as managed environments.” Test targets are not exempt.

Developer environments are on the same track. From important changes coming: “You can’t create new unmanaged developer environments starting November 15, 2026. Existing unmanaged developer environments are suspended starting December 15, 2026 and deleted starting January 15, 2027.” Any plan built on an unmanaged developer environment needs rework now, and an unmanaged test target is blocked once its window closes.

Here is what the licenses buy:

  • Solution checker enforcement on import. “Administrators can use solution checker to enforce checks to identify problematic patterns on solutions when the solution is imported in the managed environment.”
  • Eligibility as a pipeline target.
  • Eligibility for Git integration. “Development and target environments must be enabled as managed environments.”

This is also where the production tier of a three-tier model becomes enforceable rather than a policy document.

Takeaway: budget managed environments as the cost of an auditable promotion path, and stop treating them as an optional premium tier.

A Power Platform ALM review gate sized for zero developers

Start with delegated deployments. The setup page explains the effect: “the pipeline stage deploys as the delegate (service principal or pipeline stage owner) instead of the requesting maker.” The admin deployment page calls service principals the recommended way to deploy securely to production. Makers stop needing production rights, which matches Learn’s ALM basics guidance for production: “App makers and developers shouldn’t have access, or should only have user-level privileges.” Back on the setup page: “All delegated deployments are pending until approved.”

The approver role is real work. Learn says: “Deployment approvers are responsible for carefully reviewing sharing and security role information.” Assign a named person and a named backup. If the approver is a team name such as the CoE, nobody owns the decision.

Next, set solution checker enforcement. The environment strategy guidance lists “the most common settings”: Block and Send emails for production, Warn for developer and sandbox. Learn presents these as common settings, not requirements. Our view: they are a sound starting point. The checker runs static analysis against best-practice rules. Learn is explicit that “only critical severity rules block a solution from being imported.” It is not a full security scan, and the solution checker page adds: “Use of solution checker doesn’t guarantee that a solution import will be successful.”

Gated extensions are optional. The pre-export step “runs custom validation logic when you submit a deployment request.” The pre-deployment step lets you insert a step “if a final approval is required.” Personal pipelines cannot use either.

Finally, turn on Block unmanaged customizations in production, so that “the changes to the environment are only coming from approved application lifecycle management (ALM) processes.” By default, this setting is off.

The review gate:

CheckMicrosoft controlBlocks the deployment?
Data sensitivity of connected sources (the approver)No Microsoft control: the approver checks it by handOnly if the approver rejects
Sharing scope and security roles (the approver)Delegated deployment approvalYes, the request stays pending until approved
Solution checker result (automatic on import)Solution checker enforcement set to BlockYes, for critical-severity issues only
Managed solution only (the platform)Block unmanaged customizationsYes, unmanaged imports are blocked when it is on
Rollback setting enabled (the admin, once per pipeline)Pipeline rollback settingNo, it decides whether earlier versions can be redeployed

Our view: the first row matters most. None of the controls in this table judges whether a connected source holds sensitive data, so that judgment sits with the approver. Put it on their checklist in writing.

Takeaway: one named approver, a service principal and Block in production give you a defensible gate without a single pull request.

Source control: Git integration where it fits, not everywhere

Our view: start with pipelines and their automatic backups. Add Git integration when two or more makers work on one solution, or when auditors ask for a diff history. Until then, the stored artifact per deployment shows exactly what shipped each time.

When you do bind Git, the prerequisites are firm. “You need a system administrator role in the Dataverse environment to bind to Git.” For Azure DevOps, users “need an Azure DevOps subscription, Basic access level, and access to contribute to the project and repository.” And “Development and target environments must be enabled as managed environments.”

Azure DevOps shows a general availability date of April 22, 2025, on a release plan that is now archived. GitHub is still Connect to GitHub (preview). Its archived release plan shows public preview on August 31, 2026, and no GA date. Learn says “Preview features aren’t meant for production use.” Keep GitHub out of your production Power Platform ALM path for now.

Bind Git in development only. The Git integration overview says: “Use Git integration with developer environments, not in your test or production environments. Use builds to create solution artifacts and pipelines in Power Platform to deploy.” Git stores the unmanaged source. Pipelines move the managed artifact.

The practitioner caveat is multi-maker work. For pipelines, “The current implementation uses a single development environment for a given solution.” Git integration fills that gap. Asked whether makers can collaborate across development environments, the FAQ answers: “Yes. Import the solution to each additional environment and then connect to the same Git location.”

Takeaway: bind Git in dev for any solution with two or more makers, and keep pipelines as the only way into production.

Secrets: where Key Vault reaches and where it stops

Gartner’s Pete Shoard put the risk plainly in a quote to Computerworld: “The number one risk at the minute is hard-coded secrets being uploaded through vibe-coded applications to GitHub, and then providing a route in.”

The supported pattern is an environment variable backed by Azure Key Vault. Per Learn: “Currently, Azure Key Vault is the only secret store that is supported with environment variables.”

The edge: “Environment variables referencing Azure Key Vault secrets are currently limited for use with Power Automate flows, Copilot Studio agents, and custom connectors.” Canvas apps are not on that list. When a canvas app needs a credential, route the call through a flow or a custom connector that reads the secret, and keep the secret out of the app entirely.

The gaps:

  • Git integration has no built-in secret scanning. The FAQ says only: “You can integrate your scanning tool of choice into your Git provider tooling.” Add one.
  • The solution checker has no hard-coded secret rule for canvas apps or cloud flows. Its only password rule, desktopflow-avoid-unsafe-password (“Passwords are managed insecurely in the flow.”), targets desktop flows.

Takeaway: add a blocking line to the approver’s checklist: no credential typed into the app or flow. Neither the solution checker nor Git integration catches one for you.

Testing and monitoring, the 80/20 version

Give every pipeline a test stage before production. Learn’s solution concepts explain why it needs its own environment: “You can’t import a managed solution into the same environment that contains the originating unmanaged solution. To test a managed solution, you need a separate environment to import it into.”

Our view: give every maker a short, structured manual test script, the main tasks a user performs, each with an expected result, and have them run it in test before requesting production. The approver sees the completed script with the request.

Monitoring starts with what pipelines already record: run history, a stored artifact for every deployment, and rollback when the setting is on. Pair that with Send emails turned on next to Block in production, and you hear about critical findings without polling anything.

One caveat covers test data. “Pipelines, or solutions in general, don’t contain data stored within Dataverse tables.” Test data and production data migration need their own plan. If you still have the ALM Accelerator somewhere in your notes, it is deprecated. Do not build on it.

Takeaway: if the maker cannot show a passed test script and a green checker result, the approver rejects the request.

Second lane: code that arrives from Cowork, Copilot Studio and outside tools

Apps built in Copilot Cowork and Copilot Studio run on Copilot Managed Runtime, which Microsoft announced as generally available on November 17, 2026, rolling out to tenants. Learn’s collaboration guide says: “Use the Copilot Managed Runtime CLI to collaborate on an existing app, including an app created in Copilot Cowork or Microsoft Copilot Studio.”

The FAQ adds: “Apps built with Copilot Managed Runtime are created in personal environments,” and personal environments created through environment routing “are always managed environments.” Source control is built in, per the security and governance page: “By default, the platform stores apps in platform-managed Git repositories.” Learn adds: “These protections don’t replace reviewing app code and dependencies.”

Every app picks one of three repository modes: platform-managed Git, bring your own GitHub, or bring your own build. Bring your own GitHub needs “An external repository owned by a GitHub Enterprise Cloud organization.” Choose carefully: “The mode is fixed for the life of the app, and switching modes requires creating a new app.”

In Learn’s words: “Preview is automatic; going live is deliberate.” A pushed commit “updates the app’s source repository. It doesn’t update the live app.” Each build has “a stable ID, a status, and the commit it came from, so you can target any build by using --commit <sha> when you check its status or deploy it.”

External artifact deployment “is disallowed by default” and “can be configured for an environment or environment group.” Keep it off until you have validated the external pipeline, because “Your organization is responsible for validating externally built artifacts and securing the pipeline.” When you enable it, pin immutable action tags such as @v1.0.1.

Our view: if employees bring code from Lovable, Replit, Cursor or Claude Code, set the intake rule: source control from day one, a dependency review, and a named person who can read the code before it touches company data. Power Platform pipelines ship a gate you configure; external code makes you build the gate yourself.

Takeaway: win the Power Platform lane first, then open external artifact deployment for one environment group at a time.

Find out which apps would pass an audit today

Pick the first environment to convert this week.

If you want a second pair of eyes first, we look at what your makers have built or plan to build with AI, name the top three risks, and recommend one next step.

Book a free 30-minute AI app review

Related articles