cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Deleting Unmanaged Layers from a managed Solution

Hi, 

everytime I make an Upgarde to my Solution in Prod, I must delete the Unmanaged Layers from every component, so that the newest Version of the flow or the app move to the top. 

Is there a way to delete all Unmanaged Layers in a managed solution at once ?  Or simply to make an upgrade directly without these layers ?

 

Thank you !

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous ,

Try to import your solution using classic version. If it is not patch then you can able to overwrite the customization.

"overwrite customization" option overwrites any unmanaged customizations previously performed on components included in this solution.

In such case you don't have to remove unmanaged layer every time while importing. Hope Microsoft implement this functionality in powerapps portal in future to overwrite customizations instead of doing it from classic version.

 

If it answers your question, kindly give kudo and accept it as solution. 

 

Regards,

Prakash

View solution in original post

10 REPLIES 10
iAm_ManCat
Super User
Super User

If you use connection references and environment variables in the solution then you should be able to replace the managed solution without going in and creating unmanaged layers - what is the reason for creating the unmanaged layers in your case?

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Anonymous
Not applicable

@iAm_ManCat I am actually using environment variables and connection refrences. The unmanaged layers are automatically created after an upgrade. This means that  before I start using the new deployed solution I must go through every component and delete its unmanaged layer. 

Are you using Update or Upgrade?
Update a solution - Power Apps | Microsoft Docs

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Anonymous
Not applicable

@iAm_ManCat I am using Upgrade

Does this FAQ question apply to your situation by chance?
Frequently asked questions about model-driven app form ALM with Power Apps - Power Platform | Micros...

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Have you used Apply upgrade from the Solutions area in Power Apps?

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Anonymous
Not applicable

@iAm_ManCat I upgraded my solution directly. 
The mentionned questions in the FAQ are about model-driven-apps ?

Prakash4691
Super User
Super User

@Anonymous ,

After your import where you not able to see your latest changes in prod?

Anonymous
Not applicable

@Prakash4691 I am only able to see the changes, when I delete the unmannaged Layer of the component. Otherwise I see the older Version of the component (generally Canvas App or Flow)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (2,728)