Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM Online - Import Error: The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship exp_integrationXXXX_MailboxTrackingFolders.

(0) ShareShare
ReportReport
Posted on by

Hi, 

has anyone had this issue when importing a managed solution from a sandbox environment to a production environment in CRM Online (2015 May update 1)? Both sandbox and production have the same 2015 version according to the administration portal.

The error during import (shown in import log):

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

villa1.jpg

(please not that exp_integrationXXXX is a custom entity)

This seems to do with a new attribute that came with the latest update of CRM 2015 (Mailbox Tracking Folders) so this surely seems like something Microsoft support needs to look into, but sometimes is good to get feedback from the community first.

-Helgi

*This post is locked for comments

  • Suggested answer
    Kjeld Poulsen Profile Picture
    Kjeld Poulsen 180 on at
    RE: CRM Online - Import Error: The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship exp_integrationXXXX_MailboxTrackingFolders.

    You will get same "type" of error, if you try to import an entity from one environment to another where the entity

    in the target environment is defined as ownership Organization and in source is defined as User or Team. In this case the related field will be a businessunit reference, ex. business_unit_yourprefix_yourentityname. In such case there is no other solution than ensure the the ownership level is identical in both environments first, by dropping and recreating the entity in one of them.

  • Suggested answer
    Andre Margono Profile Picture
    Andre Margono 2,602 on at
    RE: CRM Online - Import Error: The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship exp_integrationXXXX_MailboxTrackingFolders.

    Yes, I encountered this on the upgraded environment from 2015 to 2015 update 1. My workaround is to unzip the solution file, edit customizations.xml by removing the folder tracking relationship.

    I found out that this is a bug of partial upgrade and would recommend you to log a support ticket so that Microsoft will be more aware of this issue.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: CRM Online - Import Error: The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship exp_integrationXXXX_MailboxTrackingFolders.

    Please make sure all the required related items are included in the solution.

  • Suggested answer
    Bas van de Sande Profile Picture
    Bas van de Sande 4,383 on at
    RE: CRM Online - Import Error: The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship exp_integrationXXXX_MailboxTrackingFolders.

    Hi,

    Just to be sure, a couple of questions:

    Did you make the managed export yourself?

    Did you ensure that you had all related items to be added automatically?

    Looking forward to hear from you

    Bas

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans