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 / Move existing producti...
Power Apps
Unanswered

Move existing production app to managed solution

(0) ShareShare
ReportReport
Posted on by 26

Hi

 

I have the following Situation. 

 

On a prod-environment I got an app running. This app is not inside a solution. The goal is to have the same app running on production but inside of a managed solution.

 

My plan was to:

  1. export the app from production
  2. import the app on a dev-environment
  3. create a solution on the dev-environment
  4. add the imported app to the solution
  5. export the solution as managed
  6. deploy the solution back to production

This works except that the app is created again on production as soon as i import the solution.

I was not able to correlate the two apps in order to convince the system that they are in fact the same app.

 

Is there a way to upgrade the existing app on production instead of creating a second new app?

 

Any help or insight is apreciated.

 

Thank you

Jek1

I have the same question (0)
  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    I haven't wrestled with this exact scenario before, but have you tried adding the app to a solution in Prod before you import the managed solution?

  • Jek1 Profile Picture
    26 on at

    Hey @cchannon

     

    That sounds like a good idea. I will try it out and let you know how it went.

  • Jek1 Profile Picture
    26 on at

    Hey @cchannon 

     

    Unfortunately I was not able to test it yet, because I suddenly get weird CORS exceptions when I try to export a solution. Changing Browser or User does not help.

     

    I'll keep you posted.

  • Verified answer
    Jek1 Profile Picture
    26 on at

    Hey @cchannon 

     

    I was finally able to try out your suggestion.

     

    With a small tweak it works like a charm!

     

    1. on the INT environment add the app to a solution and exported the solution as unmanaged
    2. import the solution to the DEV environment
    3. export the solution from the dev environment as managed
    4. try to import the now managed solution to the INT environment
      the following error will be shown
      (unmanaged solutions cannot be overriden by managed solutions directly)
      Jek1_1-1655105776273.png
    5. delete the unmanaged solution from the INT environment
    6. import the managed solution to the INT environment
      A warning appears that says something like
      "Unmanaged components detected. They will be converted to managed"
      This is refering to the app that is now recognized as part of the solution.

     

    The following link I stumbled across helped with the last steps:

    How to convert an unmanaged solution into a managed solution in Dynamics 365? | by Ben "The Hosk" Hosking | The Dynamics 365 information hub | Medium

     

    For me this issue is resolved.

     

    Thank you and best regards

     

  • Community Power Platform Member Profile Picture
    on at

    How do you add the existing app to a solution? I am struggling with this

  • cchannon Profile Picture
    4,702 Moderator on at

    Create a solution, then from inside the solution click Add Existing --> App 

  • Jek1 Profile Picture
    26 on at

    This is right. But make sure you do not create the unmanaged solution on the produciton environment.

    Edit: You can create an unmanaged solution on Production just make sure you delete it again afterwards.

  • Community Power Platform Member Profile Picture
    on at

    Thank you. But I am also using many flows with SQL DB connector (pointing to PRD DB) and when I tried to open the app from the new environment then showing 'Ask for Access' before allowing connectors. But nothing happens when I am clicking on that. Any idea why?

  • Jek1 Profile Picture
    26 on at

    Always a bit hard to tell witout the exact setup but here are a few things to try:

    1. Make sure you have added the connection references used in your flows, to the solution aswell 

    2. Check your flows and see if a valid connection is selected on the new environment

    Jek1_0-1675849793386.png

    3. Make sure the solution and app are both published

    4. Make sure your user has permissions to read/run the flows on the new environment

    And sometimes the classic:
    since your solution should be managed in the new environment, just delete it and import it again

    good luck

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard