Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

0x80048470 - Importing CRM Solution

(0) ShareShare
ReportReport
Posted on by

I am trying to import an unmanaged solution but for some reason I am getting the following error:

Failure: 0x80048470 - The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship business_unit_new_contract.

It's interesting because I've opened the costumizations.xml and the relationship is there. Also, when I look up at the exported solution entity that has the relationship, the relationship is also displayed.

At first, I was receiving an 0x8004803A error as shown:

Failure: 0x8004803A - The import has failed because component  of type 50 is not declared in the solution file as a root component. To fix this, import again using the XML file that was generated when you exported the solution.

So, I opened the solution.xml and added a new for that particular type, which was not in the file.

Has anyone ever experienced that? Also, This relationship shown is between businessunit and one of my entities.

Is there any way of fixing it through database? What would be the best solution?

Thanks in advance, Dem

*This post is locked for comments

  • Suggested answer
    Pradeep Rai Profile Picture
    5,487 Super User 2025 Season 1 on at
    RE: 0x80048470 - Importing CRM Solution

    Please check if you have added child business unit role.

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,407 Super User 2025 Season 1 on at
    RE: 0x80048470 - Importing CRM Solution

    Can you check the xml file of the solution ? and search given field in it?

  • Community Member Profile Picture
    on at
    RE: 0x80048470 - Importing CRM Solution

    I have similar same. What is the solution?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: 0x80048470 - Importing CRM Solution

    Hi. I have met same error. In my case it helped me to add a primary entity from the relation to the solution. Hope that helps...

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: 0x80048470 - Importing CRM Solution

    Hi Demerson H

    In fact, I recommend you to create a support case with Microsoft.

    Any engineer can help you to determinate what happen in your import process.

    Regards,

  • Community Member Profile Picture
    on at
    RE: 0x80048470 - Importing CRM Solution

    Hi Andres,

    Thanks for your reply.

    Well, I've checked the relationship in the solution I want to export and the relationship exists so I do not understand that error.

    I am trying to import this solution to a empty organization/project. I have created a new one and wanted to import the solution but I am getting such error. This would be my clean testing environment.

    Is there any way to walk around it?

    Regards,

    Demerson

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: 0x80048470 - Importing CRM Solution

    Hi Demerson H

    My name is Andres Guzman, I'm glad to help you

    The best way to solve this issue is checking your relationship directly in the CRM application to add or remove that you need or not.

    Modifying the solution XML's files or changing something directly to the DB is a process not supported for Microsoft.

    I hope this info can help you

    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
dkrishna Profile Picture

dkrishna 6

Featured topics

Product updates

Dynamics 365 release plans