Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

When importing solution getting relationship error

(0) ShareShare
ReportReport
Posted on by

When importing a solution from one environment to another I am getting the below errorr, how can I resolve this?

The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship msdyn_solutioncomponentdatasource_Annotations.

  • Verified answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: When importing solution getting relationship error

    Hi,

    The annotation entity is the Note entity shown in the entity list, with annotation as its name and Note as its display name.

    pastedimage1639115583096v1.png

  • USA80 Profile Picture
    USA80 on at
    RE: When importing solution getting relationship error

    I don't see the annotation entity in my default solution

  • Verified answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: When importing solution getting relationship error

    Hi,

    There was a change done in May, 2020 that removes the annotations from internal Microsoft Entities, which remove from the system relationships like

    • msdyn_solutioncomponentdatasource_Annotations
    • msdyn_solutionhistorydatasource_Annotations

    Here are some Possible Workarounds:

    + Remove entirely annotation entity from the custom solution in the source Org;

    + Or remove only the ObjectId lookup and the relationships msdyn_solutioncomponentdatasource_Annotations and msdyn_solutionhistorydatasource_Annotations ( since the lookup is removed, the system will not re add the relationships);

    + Or disable FCB.AutomaticallyAddBackingRelationshipForLookups , then manually remove from solutionmsdyn_solutioncomponentdatasource_Annotations and msdyn_solutionhistorydatasource_Annotations. Hence export solution again ( since FCB is disable, the system will not automatically re add the relationships). We can re enable FCB later; 

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans