Stage 13 of 17

Stage 13 of 17

Release

Full ALM deployment: managed solutions, environment variables, connection references, 5-phase deployment process (Dev → Test → UAT → Production), and a 25-item go-live checklist.

Why Are We Doing This?

This is the stage where the DToD method diverges most sharply from "just build it in Production". ALM (Application Lifecycle Management) is the practice of managing the full lifecycle of a solution — from development through testing to production — using a controlled, repeatable process. It is not optional for enterprise solutions. The 2025 CRM/invoicing incident (F-003) was partly caused by a change that bypassed a change management process. ALM is the technical implementation of change management.

ALM Concepts

Dev only

Unmanaged Solution

A solution in the Dev environment where you build. Components can be edited directly. Cannot be imported on top of a managed solution of the same solution.

Test and Production

Managed Solution

An exported, locked version of the solution. Components cannot be edited directly in the target environment. This is what you deploy to Test and Production.

All environments

Environment Variable

A named value that can differ between environments. Example: the Procurement Director email address. Defined in the solution; value set per environment during import.

All environments

Connection Reference

A placeholder for a connection (e.g. Dataverse, Outlook) in the solution. During import, you map the placeholder to an environment-specific connection. Prevents the suspended flow problem (TS-008).

All environments

Solution Version

A version number (e.g. 1.0.0.0) that increments with each release. Allows you to track which version is deployed to each environment.

Deployment Process

1

Prepare the Solution for Export

  1. 1.In the Dev environment, open the DToDApplicationPortfolio solution.
  2. 2.Add Connection References for each connection used by the flows: Dataverse (for List rows, Get row, Update row actions) and Office 365 Outlook (for Send an email actions).
  3. 3.Add Environment Variables for environment-specific values: ProcurementDirectorEmail (default value: helena.marsh@contoso.co.uk), ITTeamLeadEmail (default value: t.reeves@contoso.co.uk).
  4. 4.Update the 4 flows to use the Environment Variables instead of hardcoded email addresses.
  5. 5.Update the solution version: in the solution properties, change the version from 1.0.0.0 to 1.0.0.1 (or 1.0.1.0 for a minor release).
  6. 6.Run all 25 test cases in the Dev environment. All must pass before export.
2

Export from Dev

  1. 1.In the DToDApplicationPortfolio solution, select Export solution.
  2. 2.Select Next.
  3. 3.Select Managed as the package type.
  4. 4.Select Export. The solution file (DToDApplicationPortfolio_1_0_0_1_managed.zip) downloads to your computer.
  5. 5.Also export an Unmanaged version for backup: repeat the export and select Unmanaged. Store both files securely.
3

Import to Test

  1. 1.Switch to the Contoso-APM-Test environment in make.powerapps.com.
  2. 2.Go to Solutions. Select Import solution.
  3. 3.Upload the managed solution zip file.
  4. 4.Select Next. Review the solution components.
  5. 5.For each Connection Reference, select or create a connection for the Test environment.
  6. 6.For each Environment Variable, set the Test environment value (e.g. test-procurement@contoso.co.uk for the test email address).
  7. 7.Select Import. Wait for the import to complete (typically 2–5 minutes).
  8. 8.After import, go to Cloud flows. Verify all 4 flows are in the "On" state (not Suspended).
  9. 9.If any flow is Suspended, see TS-008 in the Troubleshoot stage.
4

User Acceptance Testing in Test

  1. 1.Invite the UAT participants: Priya Mehta (Enterprise Architect), Tom Reeves (IT Team Lead), Helena Marsh (Finance Director), Rachel Grant (Information Security Manager).
  2. 2.Assign each participant their security role in the Test environment.
  3. 3.Provide the UAT test script (a subset of the 25 test cases from Stage 11, focused on business scenarios).
  4. 4.Allow 3–5 business days for UAT.
  5. 5.Collect feedback. Log any defects as issues.
  6. 6.Fix defects in Dev. Re-export and re-import to Test. Re-test the fixed items.
  7. 7.Obtain sign-off from the CTO (Marcus Webb) before promoting to Production.
5

Import to Production

  1. 1.Switch to the Contoso-APM-Prod environment.
  2. 2.Repeat the import process from Phase 3, using Production connection references and environment variable values.
  3. 3.After import, verify all flows are On.
  4. 4.Run a smoke test: create one Application record, one Risk record, and manually trigger one flow.
  5. 5.Assign security roles to all Production users.
  6. 6.Send the go-live communication (see below).

Go-Live Checklist

Solution

  • Solution version updated
  • All 25 test cases passed in Dev
  • Connection References configured
  • Environment Variables configured
  • Unmanaged solution backup exported and stored

Test Environment

  • Managed solution imported successfully
  • All 4 flows are On (not Suspended)
  • UAT completed by all stakeholders
  • UAT sign-off obtained from CTO
  • All UAT defects resolved

Production Environment

  • Managed solution imported successfully
  • All 4 flows are On
  • Smoke test passed
  • Security roles assigned to all users
  • Go-live communication sent

Data Migration

  • Existing application data from Priya's spreadsheet imported
  • Existing contract data from Helena's spreadsheet imported
  • All imported records reviewed for data quality
  • Business Owners and Technical Owners assigned to all imported applications

Documentation

  • User guide published to SharePoint
  • Admin guide published to SharePoint
  • Support escalation path communicated to IT team
  • Flow run schedule communicated to stakeholders

Data Migration

The go-live checklist includes importing Priya Mehta's spreadsheet (60 rows) and Helena Marsh's contract spreadsheet. This is a data migration — it must be planned carefully. Import data in dependency order: Business Owners and Technical Owners first, then Suppliers, then Applications, then Contracts. Validate every imported record before go-live. A data migration with errors is worse than no migration at all.

Stage Complete — What You Now Have

  • ✓ALM concepts explained: unmanaged vs managed solutions, environment variables, connection references
  • ✓5-phase deployment process: Prepare → Export → Import to Test → UAT → Import to Production
  • ✓Environment Variables: ProcurementDirectorEmail, ITTeamLeadEmail — no hardcoded addresses in flows
  • ✓Connection References: Dataverse and Outlook connections mapped per environment
  • ✓25-item go-live checklist across Solution, Test, Production, Data Migration, and Documentation

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project