"This import has failed because a different entity with the identical name, new_mycustom, already exists in the target organization" error message when you import a solution in Microsoft Dynamics CRM

Symptoms

When you import a solution in Microsoft Dynamics CRM, you receive the following error message:

This import has failed because a different entity with the identical name, new_mycustom, already exists in the target organization.

When you download the log file, you see log entries such as "Failure at System Views," and for Form or for Ribbon, you see "Unprocessed."

Cause

The import solution raises an error when you have the same entity name that is created in different organizations, and this entity name exists in multiple solution files.

Sample scenario

  1. Create an organization, add a solution that is named "Sol1," and then add a custom entity that is named "new_MyCustom."

  2. Export the Sol1 solution.

  3. Create another organization, add a solution that is named "Sol2," and then add a custom entity that is also named "new_MyCustom."

  4. Export the Sol2 solution.

  5. Create a new organization, import the Sol1 solution first, then import the Sol2 solution to the organization that you created.

Even though these custom entities have the same name, they have different GUID for Views, Forms, and so on. This is because they were created in different organizations. Therefore, when you import the second solution, the system identifies the GUID difference for same entity, and the error that is mentioned in the "Symptoms" section occurs.

Resolution

If you have to have a custom entity, customize the entity in the same organization. If you are a solution provider, use a unique prefix for your solution to make sure that other solutions do not have same name. The entity prefix can be set at the Publisher.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×