M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions→ m365con.net

Blog · Mirko Peters

Why Manual Portal Deployments Are Costing You Weekends

By ·

Picture this: It is Friday evening, just as you are planning to shut your laptop down for the weekend. Suddenly, a panicked message pings your phone. A critical pro…

▶ BLOGWhy Manual PortalDeployments Are Costing…M365.FM
Titelbild: Why Manual Portal Deployments Are Costing You Weekends

Picture this: It is Friday evening, just as you are planning to shut your laptop down for the weekend. Suddenly, a panicked message pings your phone. A critical production fix was pushed through the Power Platform portal, and now half the workflows are broken, a vital plug-in registration is missing, and the user database is throwing silent errors. Instead of relaxing, you spend the next forty-eight hours manually hunting down missing dependencies and dragging and dropping zip files into a production environment. Sound familiar? If you rely solely on manual portal deployments, you are playing a dangerous game of deployment roulette.

In this article, we are going to dive deep into why abandoning manual UI deployments in favor of a scripted, code-first approach using the Power Platform CLI (PAC CLI) will save your weekends, ensure true governance, and bring predictability back to your release cycles. This written guide directly expands upon the concepts discussed in our related podcast episode, Build Reusable Components with Power Platform CLI. Be sure to give that episode a listen for an audio-first deep dive into these exact tooling strategies!

TL;DR

Why PAC CLI matters

When you handle enterprise low-code and pro-code solutions, consistency is everything. Manual deployment processes are prone to human error, missed configurations, and a lack of auditability. Adopting the Power Platform Command Line Interface transforms how your team operates:

Safe setup (without breaking what works)

Moving to a CLI-driven workflow doesn't mean you have to throw your current environment setup out the window. You can run it safely alongside your existing maker practices.

  1. Install PAC CLI, ideally in an isolated environment like a sandbox VM or a dev container.
  2. Create auth profiles per tenant and environment to ensure you never accidentally target the wrong database: pac auth create --name "Contoso-DEV" --url https://orgdev.crm.dynamics.com pac auth create --name "Contoso-QA" --url https://orgqa.crm.dynamics.com pac auth select --name "Contoso-DEV" pac auth list
  3. Dry-run checks to verify your target before running any commands: pac org who pac solution list Verify you are in the right environment before touching anything.

Solution packaging workflow (core commands)

A predictable release pipeline relies on standardizing how solutions are built, packed, and pushed. Here are the core commands you need to master:

Pro tip: Keep versioning tight (e.g., 1.2.0 for features, 1.2.1 for hotfixes). Tag your builds cleanly in git.

Plug-in DevOps (no more manual registration)

One of the biggest culprits behind broken weekend deployments is the dreaded manual plug-in registration tool. Forgetting to register a step or pointing to an old assembly version ruins production environments instantly.

CI/CD skeleton (Azure DevOps/GitHub Actions)

To truly break free from manual deployments, you need an automated pipeline. Here is a standard stage structure for Azure DevOps or GitHub Actions:

Stages

  1. Build: restore dependencies, compile plug-ins, and run pac solution pack.
  2. Validate: execute pac solution check (Solution Checker), run unit tests, and lint your code.
  3. Deploy to QA: run pac solution import, publish changes, and execute automated smoke tests.
  4. Gate: enforce manual approvals and health checks.
  5. Deploy to PROD: run the exact same scripted steps and tag the release in git.

Key variables

Environment variables & connection references

Hardcoding URLs or connection data inside solutions is a recipe for disaster. Instead:

Common pitfalls & fixes

Quality gates (fast checks that save weekends)

Governance checklist

Quick FAQ

Do I have to abandon the portal?
No. Keep the portal for building and prototyping; use PAC CLI for packaging, deployment, and enterprise governance.

Can makers use this without heavy DevOps?
Yes, makers can start with simple scripted exports and imports, gradually growing into full CI/CD pipelines over time.

What about Dataverse plug-ins?
Treat them like standard software code: build them, version them, and register them via PAC CLI as part of your core deployment pipeline.

By shifting away from manual portal clicks and embracing the power of the PAC CLI, you will not only bulletproof your release process, but you will also finally reclaim your weekends. To hear more about setting up these tools and optimizing your low-code architecture, make sure to listen to the full episode over at Build Reusable Components with Power Platform CLI!

Power Platform CLI Power Platform Dynamics 365 Governance

RSS