Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Issue Deploying managed solution with system generated relationships

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have a managed solution that has deployed without errors to two CRM instances but has failed on the most critical system.

EntityRelationship [<customentity>_ActivityPointers] is invalid. The lookup attribute [RegardingObjectId] is already associated with an existing relationship.

When we check the target instance there is no releationship present between these two entities prior to deployment, so we have confirmed that is not a mix up in releationship names.

The primary difference between this solution and the previous working deployment is that we have checked the box under "Communication and Collaboration" for Activities on our custom entity.

We have also confirmed that this flag is not currently checked for this custom entity on the target instance.

Has anyone experienced similar issues and how did they recover the situation so that the solution can be deployed?

The solution has been redeployed to the other CRM instances subsequently and they do not report any issues.

  • JordiMontana Profile Picture
    JordiMontana 326 on at
    RE: Issue Deploying managed solution with system generated relationships

    Hi Andy,

    I had a similar situation lately, where the "Activities" flag was not ticked in the target environment for a custom entity.

    It was resolved by manually enabling it in the target environment before deployment (not ideal, but it worked cause in that case was deployed as unmanaged).

    Did  you find any other solution by yourself with managed?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans