web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Looking for guidance i...
Power Apps
Answered

Looking for guidance in moving production apps into solutions

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I've created a range of flows together with my powerapp and they were created outside of a solution.

 

I want to move all of the above into a solution so I can have it in a test and production environment.

 

I'm nervous to touch anything as it's live and I've never done this before.

 

Is there any documentation and guidance on best practices on how do to this?

 

Regards,

 

Daniel

I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    Adding tables/flows/apps to a Solution should do nothing to them, other than flagging them as part of the Solution. However, if you are highly concerned about upsetting a production environment, then you can do the following:

    • Create a second environment
    • Export each app & flow (makes a .zip file) from your production environment
    • Import each app & flow into your new environment
    • Fix any dependency issues that pop up and verify they work in the new environment
    • Add the apps & flows into a new Solution in the new environment

    Hope that helps,

    Bryan

  • Community Power Platform Member Profile Picture
    on at

    Hi @BCLS776 ,

     

    Many thanks for your practical advice! It is much appreciated.

     

    Regards,

     

    Daniel

  • Community Power Platform Member Profile Picture
    on at

    Hi @BCLS776 ,

     

    I didn't follow your advise exactly and starting moving my production app into a solution.

     

    Now when I want to update 'powerapp-button-triggered' flows in the app I cannot find them when I click on the power automate setting at the top. Is there a way to get the flows back in this interface?

     

    Thank you.

     

    Regards,

     

    Daniel

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @Anonymous wrote:

    Hi @BCLS776 ,

     

    I didn't follow your advise exactly and starting moving my production app into a solution.

     

    Now when I want to update 'powerapp-button-triggered' flows in the app I cannot find them when I click on the power automate setting at the top. Is there a way to get the flows back in this interface?

     

    Thank you.

     

    Regards,

     

    Daniel


    I haven't experienced the exact issue you're seeing now, but we may be bumping into known limitations of moving apps & flows in and out of solutions. There are a few mitigation tactics in that document that may help you out too - the one that stands out for me is to link your app back to your flows before attempting to bundle them up in a solution.

    Bryan

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi @BCLS776 Brian,

     

    Thanks for getting back to me and for your expertise on this.

     

    I managed to resolve this but with difficulty. I'm posting it here in case this happens to someone else.

     

    When I move my powerapp to the unmanaged solution, the solution removed the flows (ones that have the powerapps trigger and are available to be selected from in the powerapps studio when you want to connect them to a powerapps button's 'onselect' property).

     

    This did not affect the functioning of the app nor flows as they continued to run without incident. However, it became an issue when I updated my flows, deleted them from the datasources in the powerapps studio and then when I wanted to re-add the updated flow, I couldn't see them in the power-automate list in the powerapps studio.

     

    I tried:

     

    1. Deleting the solution: The change the solution had on the powerapp seems irreversible even when the solution was deleted and the app was back 'outside' the solution and I could still not see the flows in the 'solution-freed' app.

     

    2. I tried to recreate the flow inside the powerapp whilst in the solution (I created a new solution and readded the app)- the advice given in the microsoft documentation- I had all sorts or problems copying and pasting actions, etc from my original flows into this new 'solution-aware' flow and short of manually rebuilding the entire thing I abandoned this approach due to time pressure. I could not rebuild a production flow that took 8 months to build, test and get working in a night. so I tried:

     

    3. Exporting the PowerApp (from the solution) as a package into my original environment that the power app was working in. I renamed it as a later version number so I wouldn't get confused then I imported it into the target environment (the original).

     

    On import I needed to create all the flows and resources as new and renamed then the later version number.

     

    When I went into my newly imported powerapp in my original environment I could see the flows again (Phew!!!).  However I saw the original flows plus the higher versions I created as new.

     

    The formula's where the flows were references had not changed but I still needed to remove the old flow in this app and remap the updated flow (I still used the original not the later versions). I had to remove of all the flows in the app and remapped them whether I had updated them or not (the old flows not the news ones created in the package).

     

    It worked and thankfully I'm back in action!

     

    I still need to go back and delete all the additional flows created in the app and the flow portal.

     

    It all goes back to your original advice- prevention is better than cure. Rather export a copy and test in solutions and in general without upsetting the production app.

     

    If there is simpler way you might think of then the above.

     

    Thank you again for your help and have a good weekend.

     

    Regards,

     

    Daniel

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard