Power Platform ALM and deployment pipelines
For Dynamics 365 and Power Platform teams whose releases are manual, nervous or both. I set up solutions, environments, source control and pipelines so a change goes from dev to production the same way every time, and nobody edits production by hand.
Signs your ALM needs work
- Passed test, broke in production. Usually a connection reference, an environment variable or a missing dependency that test happened to have. I wrote up one of these as a case study.
- Someone fixes things directly in production. It works on the day, then the next import either wipes the fix or sits on top of an unmanaged layer nobody remembers.
- Releases depend on one person. They know the order to import things in. When they're on leave, nothing ships.
- Nobody's sure what's live. Solution versions don't line up between environments and there's no history of what changed.
- Pipelines have started warning about managed environments. More on that below.
What I set up
Solutions that make sense
A publisher, a small number of solutions split along lines you can actually deploy, and no leftover customisations in the Default solution. Plugins, web resources and PCF controls built from source, not uploaded by hand.
Environments
Dev, test and production as a minimum, with a clear rule for what each one is for. Developer environments for individual makers where it helps. Managed environments where pipelines or governance need them, after checking what that means for licensing.
Source control
Solutions in Git, in Azure DevOps or GitHub. Either Dataverse Git integration, which works from inside the maker portal, or the PAC CLI and solution packager for teams with more code. Code reviews on plugins and anything that changes security.
Pipelines
Managed solutions built once and deployed through test to production. Power Platform pipelines, Azure DevOps with the Power Platform Build Tools, or GitHub Actions, depending on who's deploying and how much code is involved. Approvals before production.
Deployment checks
The things that pass in dev and fail in production get checked before the import: connection references, environment variables, dependencies, plugin step registrations, security roles. A short deployment settings file per environment instead of someone fixing values after the import.
Managed environments and pipelines: the October 2026 change
Power Platform pipelines have always required target environments to be managed environments. Microsoft started enforcing it in October 2026. The first deployment to an unmanaged target starts a 30-day grace period, then there's one 30-day extension, then deployments to that target are blocked until an admin turns managed environments on.
Apps already deployed keep running, so it's easy to miss until a release is due. If your pipelines deploy to test or production environments that aren't managed, check the Deployment page in the Power Platform admin center, and check licensing before you switch them over.
Starting from a messy build
Most ALM work I do isn't greenfield. Before automating anything I find out what's actually in production, including unmanaged layers and changes made directly in the live environment, and get that back into solutions and source control. Automating a broken process just breaks it faster.
If you're not sure how bad it is, the Dynamics 365 health check covers solution layers, pipelines and environments in five days. Related reading: unmanaged developer environments suspended from 15 December and why testing as System Administrator hides security bugs.
I've worked on Dynamics 365 and Power Platform for more than 16 years, as a Dynamics 365 CE developer and tech lead and on Power Apps and Power Platform consulting work, so the pipeline gets built by someone who also writes the plugins it deploys.
Questions people ask
Azure DevOps or Power Platform pipelines?
Depends on the team. Power Platform pipelines are built in and easy for makers, but every target environment has to be a managed environment. Azure DevOps or GitHub suits teams with developers, plugins and PCF controls, or deployments across tenants. Plenty of teams use both: Git for source, Azure DevOps to build, pipelines or Azure DevOps to deploy.
Do we need managed environments?
For Power Platform pipelines, yes. Targets have always needed to be managed environments, and Microsoft started enforcing it in October 2026: after a grace period, deployments to an unmanaged target are blocked. Managed environments have licensing requirements, so it's worth checking before you switch them on.
Can you set this up on an existing build?
Yes, that's most of the work I see. I start by finding what's actually in production, including unmanaged changes made directly there, then get it into solutions and source control before automating anything.
How long does an ALM setup take?
A few weeks for a typical Dynamics 365 or Power Platform build with dev, test and production. Longer if production has drifted a long way from dev and needs untangling first.
Do you work outside Melbourne?
Yes. I'm based in Melbourne and work remotely with teams across Australia and New Zealand.
Releases more stressful than they should be?
Book 20 minutes. Tell me how a change gets to production today and I'll tell you what I'd fix first.
Book a 20-min call