top of page

Power Platform Deployment Guide: Cleanly split a monolithic solution into an app and flow solution – without losing app links

  • Autorenbild: kim
    kim
  • vor 2 Tagen
  • 2 Min. Lesezeit

Goal of the scenario:

You currently have a large, monolithic solution with Canvas App and Flows in a production environment. The goal is to split these into two separate solutions (Apps & Flows) without changing the link to the app (the App ID remains the same). The old solution should be automatically cleaned up .


Requirements:

  • Power Platform Pipelines or manual deployment via Solution UI.

  • Old solution (formerly Flow & App-Solution, now only for Flows) has existing Solution-ID .

  • New app solution was created and contains the same canvas app (app ID same and app was just removed from the, now, flow solution).

  • Development environment (Dev) is unmanaged, test and production are managed.


Step-by-step instructions

1. In the development environment (Dev)

  • Export the app solution as Managed

  • Export the flow solution as Managed as well


2. In the test environment (test)

Important: Pay attention to the order!

  1. Import the app solution (Managed)

    • Result:

      • The app is located in a new solution with the same app ID .

      • However, the app is also available in the Flow solution. We want to clean this up in the next step so that the app is only available in one solution.

  2. Import the Flow solution as an upgrade

    • In the import dialog, select “Upgrade existing solution”

    • Result:

      • App will be automatically removed from the Flow solution .

      • The flow solution then only contains flows .

  3. Check in test:

    • App link has stayed the same ?

    • The app is now only in the new app solution (check via “See Solution Layers”).

    • Flow solution only contains flows.


3. In the production environment (Prod)

Procedure exactly as in test:

  1. Import the app solution (Managed)

  2. Import the Flow solution as an upgrade

    • Here too: Check “Upgrade”

    • The app is cleanly removed from the Flow solution.

  3. Validation:

    • Does the app work as before? (ID & link the same?)

    • No duplicate components?

    • Monolithic solution is now “split”.


Success criteria:

  • The app remains accessible via the same link.

  • You have two separate, clean solutions divided into: App & Flows.


 
 
 
bottom of page