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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Solution Deletion Error
Power Apps
Unanswered

Solution Deletion Error

(0) ShareShare
ReportReport
Posted on by 147
Hi all,
 
Some details to setup my problem: We operate 3 environments for our PA solutions (Dev, Test, Prod). Previously, I had two separate solutions. One was an admin app (Solution A), and the other was an end-user facing app (Solution B).
 
In the past week, I took the components of Solution A and added them to Solution B so I can manage everything through a single package. I was able to delete the package for Solution A in my Dev and Prod environments, however when I try to delete the solution in my test environment, I get the following error:
 
The uninstall operation will delete the base layer for the component 'AppSetting' with id '8afdc442-1f84-43c9-98e2-78b193fc257c'. The operation cannot continue because there are other managed layers over the base layer. You can use the solution layers to find out which other solutions are blocking the operation.
 
When I check the solution layers for the app in Solution A, it shows that I have a solution layer from Solution B. The problem is that this solution is in a managed environment, so I can't remove active layers, and when I go into Solution B, it doesn't show any solution layers for that app.
 
I know this is a bit convoluted, so let me know if there is anything else I can provide for clarification, and thanks in advance for any help!
Categories:
I have the same question (2)
  • Suggested answer
    Abdul Wahab Profile Picture
    44 on at
    Solution Deletion Error
    I received the following answer from the professor, ChatGPT. It makes sense to me, so I wanted to share it with you.
     

    This issue occurs when Solution A still has remnants in the form of base layers for components, and Solution B overlays managed layers on top of it. Here's how to resolve it step-by-step:

     
     

    1. Understand Solution Layers

     

    The error indicates that Solution A has components with dependencies in Solution B. Since Solution B is managed, it prevents direct manipulation of the layers. You'll need to investigate the dependencies and address them systematically.

     

    2. Identify Dependencies

    Follow these steps to identify what is preventing Solution A from being deleted:

    1. Navigate to the Solution Layers:

      • Open the Power Platform Admin Center.
      • Go to Solutions in your Test environment.
      • Select Solution A and look for the Solution Layers feature (available under the app settings or component options).
    2. Examine Components:

      • Check the listed components (e.g., AppSetting) and note the IDs and solution names where they are referenced.
    3. Verify Managed Layers:

      • Go to Solution B and verify if the components referenced from Solution A appear under its components list.
     
     

    3. Resolve Dependencies

     

    The approach depends on the complexity of dependencies:

     

    Option 1: Remove Components in Solution B

     

    If Solution B inadvertently includes components from Solution A:

     

    1. Open Solution B in your Test environment.

    2. Check for shared components (e.g., AppSetting).

    3. Remove the components that reference Solution A (if they are not needed).

    4. Re-export Solution B as a managed solution and re-import it into Test.


    5.  
     

    Option 2: Temporary Deletion of Solution B

     

    If Solution B actively depends on Solution A components, consider:

     

    1. Export Solution B as a managed solution for backup.

    2. Delete Solution B from the Test environment.

    3. Delete Solution A from the Test environment.

    4. Re-import Solution B into the Test environment.


    5.  
     

    Option 3: Reassign Components

     

    If Solution B needs components from Solution A, you can attempt to reassign the base layer:

     

    1. Extract and examine Solution A’s unmanaged layer in Dev.

    2. Recreate the components directly in Solution B.

    3. Re-import Solution B into the Test environment as an updated managed solution.

    4. Attempt to delete Solution A again.


    5.  
     
     

    4. General Best Practices

     

    • Avoid Cross-Solution Dependencies: Ensure components from one solution aren’t inadvertently referenced in another.

    • Use Managed Solutions for Production: Deploy managed solutions in Test and Prod to avoid layering issues.

    • Always Test in Dev: Test solution updates and deletions in the Dev environment before migrating to Test or Prod.


    •  
     
     

    5. Advanced Tools

     

    If the above steps don’t resolve the issue, you can use advanced tools:

     

    • Power Platform Solution Checker: Helps analyze dependencies.

    • XrmToolBox:

      • Use the Solution Layer Viewer plugin to see detailed layer relationships.

      • Use the Dependency Checker plugin to pinpoint blockers.


      •  


    •  
     
     

    6. Microsoft Support

     

    If none of the above resolves the issue, contact Microsoft Support. Include:

     

    • Solution export files for both A and B.

    • Dependency details from Solution Layers.

    • Screenshots of the error and impacted components.


    •  
     
     

    Summary

     

    The key to resolving this issue is to untangle the dependency between Solution A and Solution B. By carefully analyzing the solution layers and dependencies, you should be able to delete Solution A without impacting Solution B.

     

    Let me know if you encounter any specific challenges during the process!

     

    Abdul Wahab
    +923323281237
    abdulwahabubit@outlook.com
    LinkedIn: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/
    Twitter: https://twitter.com/Abdulwahabubit
    GitHub: https://github.com/AbdulWahabWarind
    Youtube: https://www.youtube.com/channel/UCBjgLqLK_2kU-3bwo4McrTw

  • IPC_ahaas Profile Picture
    1,387 Moderator on at
    Solution Deletion Error
    @EMKody Did you ever solve this?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard