cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jek1
Frequent Visitor

Move existing production app to managed solution

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
cchannon
Super User
Super User

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?

View solution in original post

Jek1
Frequent Visitor

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" Ho...

 

For me this issue is resolved.

 

Thank you and best regards

 

View solution in original post

4 REPLIES 4
cchannon
Super User
Super User

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
Frequent Visitor

Hey @cchannon

 

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

Jek1
Frequent Visitor

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.

Jek1
Frequent Visitor

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" Ho...

 

For me this issue is resolved.

 

Thank you and best regards

 

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,091)