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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Solution import was failed.

(0) ShareShare
ReportReport
Posted on by
Import of app module(s) failed: A managed solution cannot overwrite the AppModuleRoles component  with Id=23608193-3e79-41a4-9b3c-0fe31a850ba5 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged AppModuleRoles component on the target system, and now a managed solution from the same publisher is trying to install that same AppModuleRoles component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.
Can anybody help me out to resolve this issue?
I have the same question (0)
  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Hello,

    Based on the error, you are trying to import a managed solution that contains some components previously imported as unmanaged which is not allowed because "This will cause an invalid layering of solutions on the target system".

    Option 1: Import the component already exists on the target system using an unmanaged solution

    Option 2: Delete the unmanaged solution previously imported where the component exists and then import your managed solution in the target system

  • Suggested answer
    AJ-22040756-0 Profile Picture
    on at

    Hi Partner

    This is by design, from the description it seems you have an unmanaged version of AppModuleRoles in Target system, now you are trying to import a managed solution with the same AppModuleRoles. This is not supported,

    Instead, you can import the unmanaged solution again or Delete the unmanaged AppModuleRoles and import the managed solution.

  • JacquesNL Profile Picture
    800 on at

    Hi, I have the same problem. Where can I find the AppModuleRoles component so I can delete it?

  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    You can open your customizations.xml file and search for the GUID to know where it exists

  • JacquesNL Profile Picture
    800 on at

    So then we are talking about editing the customizations.xml coming from the source organization?

  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Yes, unless you have referenced the component in a form, relationship... where you can simply remove it from your solution, without editing the file.

  • JacquesNL Profile Picture
    800 on at

    Yes, that I understand. The 'funny' thing is when I search for the GUID in the customizations XML, 0 result.

    If I search the GUID with Fetch XML I find the AppModuleRole record which is linked to the Security Role: System Administrator with an unmanaged state in a solution which I can't find. Is there another way to delete these AppModuleRoles?

  • Community Member Profile Picture
    on at

    For us there was a model driven app which is of type unmanaged type. When we were trying to import the solution which contians the managed model driven app it generated the error. we deleted the model driven app from the UAT env and re imported the app as a managed type.

    Kindly accept this as a solution if I am able to help you out.\

    Thanks and Regards

    Naveen Gupta

  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Can you try to uncheck the security roles given to the app? the "AppModuleRoles" is mainly related to this.

    docs.microsoft.com/.../appmoduleroles

  • JacquesNL Profile Picture
    800 on at

    I have the solution:

    1. App-error-1.png

    2. App-error-2.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans