Setting Up a Structured Power Platform ALM Stack
Establish a robust ALM foundation by properly configuring managed environments for development, testing, and production.
A robust ALM practice relies on clearly separated environments. While the specific names might vary — dev, stage, QA, UAT, prod — the core principle remains constant: shield your live application from untested changes.
In Power Platform, admins must create several environments to support this flow. The two most critical decisions involve choosing the correct Environment Type (Sandbox vs. Production) and enabling the Managed Environment setting for your Test and Production instances. Enabling this is a prerequisite for tools like Power Platform Pipelines and unlocks enhanced governance analytics.
A Practical Scenario: The Reluctant Admin
Imagine you are the new Power Platform administrator at Wide World Importers. The team has already built a solution for inventory management but everyone is working directly in a shared Production environment. Your first task is to enforce a proper ALM cycle.
- Makers (like Maria) need a dedicated space to iterate without breaking anything.
- Testers (like Raj) need a stable environment that mirrors Production so they can confidently validate changes.
- End users rely on a consistent and safe Production system.
Let’s walk through the setup of these three environments in the Power Platform Admin Center.
Step 1: Access the Admin Center
Navigate to the Power Platform admin center. In the left navigation pane, expand the Environments section. This is your central hub for all tenant-level environment management.
Step 2: Create the Development Sandbox
The development environment is where the solution is built. It does not need to be flagged as a "Managed Environment" right away, but it must be a Sandbox type so that it can be reset or copied easily.
Click New and provide the following details:
Name: WideWorldImports_DEV Type: Sandbox Region: United States Purpose: Development & experimental work Create a database for this environment?: Yes URL: orgWWIDEV
Wait a few moments for the provisioning to finish. This space will hold your unmanaged solutions and allow developers to build freely.
Sandbox environments can be reset without contacting Microsoft Support. They are purpose-built for development and testing, not for live workloads.
Step 3: Configure the Test (UAT) Managed Environment
The Test environment is where Quality Assurance and business users validate a pending solution. To use Power Platform Pipelines, this environment must be enabled as a Managed Environment.
- Click New again.
- Fill in the configuration:
Name: WideWorldImports_UAT Type: Sandbox Region: United States Managed Environment: Yes (toggle On) Purpose: User Acceptance Testing Create a database?: Yes URL: orgWWIUAT
Enabling the Managed Environment setting unlocks usage insights, data policies, solution alerts, and enables the environment to act as a target in Pipelines deployment stages.
Step 4: Create the Production Managed Environment
The Production environment hosts the live solution. It must be a Production type and should also be Managed.
- Click New.
- Provide the following configuration:
Name: WideWorldImports_PROD Type: Production Region: United States Managed Environment: Yes (toggle On) Purpose: Live inventory management solution Create a database?: Yes URL: orgWWIPROD
Production environments cannot be reset like Sandboxes. They have stricter backup policies and SLA terms. Reserve this type exclusively for genuine live workloads.
Step 5: Review the Environment List
After creation, your environment list in the Admin Center should resemble this:
NameTypeManagedRegionWideWorldImports_DEVSandboxNoUSAWideWorldImports_UATSandboxYesUSAWideWorldImports_PRODProductionYesUSA
From here you can immediately configure Power Platform Pipelines, or simply use the Managed Environment analytics dashboards to monitor your solution inventory.
Security and Permissions Considerations
- Role assignment: Grant the "Environment Maker" role in DEV only. Developers should not have direct maker rights in PROD or UAT.
- Managed Environment administration: Enabling Managed Environment settings requires Global Admin, Power Platform Admin, or Dynamics 365 Admin privileges.
- Solution lifecycle: Only unmanaged solutions can be exported from DEV. Managed solutions are deployed to UAT and then PROD.
Common Mistakes and Troubleshooting
- Using Production Type for development: A developer workspace should always be a Sandbox. Production types cannot be remotely reset, which clutters your tenant and wastes capacity.
- Forgetting to enable "Managed Environment": If you plan to adopt Power Platform Pipelines, Test and Prod must be managed. You can enable this setting retroactively, but it is cleaner to do it during creation.
- Duplicate URL slugs: Each environment requires a globally unique URL slug (
orgWWIDEV,orgWWIUAT). Creating a clear naming convention upfront avoids collisions later.
Final Recommendation
Setting up a simple DEV (Sandbox) → UAT (Managed Sandbox) → PROD (Managed Production) triad is the single most effective step you can take to improve your ALM maturity.
Do not overcomplicate the initial setup. Start with these three environments. Once you add Power Platform Pipelines, you will have a seamless, audit-friendly path to promote solutions from development to production, ensuring that your live system remains stable and your development team stays agile.
References
- Original Idea Reference: Create Power Platform Managed Environments For Dev-Test-Prod by Matthew Devaney
- Microsoft Learn: Managed Environments overview
- Microsoft Learn: Sandbox environments