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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Import Solution Entity map error

(0) ShareShare
ReportReport
Posted on by 510

Hi guys.

I'm facing the error below when trying to import solution from DEV to QA.
If I delete the incident-incidentresolution entity map from the customizations.xml, the solution import without any problem. But I don't want to have this work of managing the .xml every time that i need to import the solution.
I saw that there was an 1-N relationship between Case and Case resolution, so I've removed the entire entity from the solution and add all those stuff again without this relationship. But even after that, I still face the same problem. So it seems like there is another think inside my unmanaged solution on DEV.

Details:

incident-incidentresolution

A managed solution cannot overwrite the AttributeMap component with Id=d42bbd30-87b3-e711-a823-000d3ab6bc36 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged AttributeMap component on the target system, and now a managed solution from the same publisher is trying to install that same AttributeMap component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi,

    Please follow below step -

    1. Extract the solution and open customization.xml in notepad++.

    2. Fold the XML you can find one tag name called <EntityMaps>

    3. Search with <EntitySource>Incident</EntitySource>

    4. You may  find two three tag like this .

    5. Choose where source and target are same entity.

    <EntitySource>incident</EntitySource>

         <EntityTarget>incident</EntityTarget>

    6. Remove all atrribute map care fully and put the  tag only.  <AttributeMaps />

    7. Its look like below

       <EntityMap>

         <EntitySource>incident</EntitySource>

         <EntityTarget>incident</EntityTarget>

         <AttributeMaps />      

       </EntityMap>

    8. save and select all files containing solution and zip .

    9. Import the file .

    Hope this will help you. Please dont forget to make this as answer if its work for you.

    Thanks

    Goutam

  • HenriquePalomo Profile Picture
    510 on at

    Hi.

    I told that I've already been doing that way, but I don't want to manage the .xml every time that i need to import the solution.

    Regards

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans