web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The referencing entity...
Power Apps
Unanswered

The referencing entity of a relationship must have the CanBeRelatedEntityInRelationship managed property set to true

(0) ShareShare
ReportReport
Posted on by 311

I did some clean up on my solution - removed some unwanted relationships and tables.  Now, I'm exporting it as managed and trying to import into another environment as an upgrade.  After the importing processes for awhile, I get this error message:

 

The referencing entity of a relationship must have the CanBeRelatedEntityInRelationship managed property set to true

 

I downloaded and edited the huge import.xml file.  In it, I searched for references to that error message and found 3.  2 look like they're just listing the error for the solution.  The third points to an actual relationship between a custom table and the Activity table:

 

 <Row ss:AutoFitHeight="0" type="Entity Relationships">
 <Cell ss:StyleID="s137" name="Time">
 <Data ss:Type="String">19:38:03.30</Data>
 </Cell>
 <Cell ss:StyleID="s137" name="ItemType">
 <Data ss:Type="String">Entity Relationships</Data>
 </Cell>
 <Cell ss:StyleID="s137" name="Id">
 <Data ss:Type="String" />
 </Cell>
 <Cell ss:StyleID="s137" name="Name">
 <Data ss:Type="String">new_policy_ActivityPointers</Data>
 </Cell>
 <Cell ss:StyleID="s137" name="LocalizedName">
 <Data ss:Type="String" />
 </Cell>
 <Cell ss:StyleID="s137" name="OriginalName">
 <Data ss:Type="String" />
 </Cell>
 <Cell ss:StyleID="s137" name="Description">
 <Data ss:Type="String" />
 </Cell>
 <Cell ss:StyleID="s137" name="Status">
 <Data ss:Type="String">Failure</Data>
 </Cell>
 <Cell ss:StyleID="s137" name="ErrorCode">
 <Data ss:Type="String">0x80047003</Data>
 </Cell>
 <Cell ss:StyleID="s137" name="ErrorText">
 <Data ss:Type="String">The referencing entity of a relationship must have the CanBeRelatedEntityInRelationship managed property set to true</Data>
 </Cell>
 </Row>

 

"new_policy" is my custom table.  This relationship exists in the solution, and has for many releases.  But has never caused this error before.  I have other custom tables with a relationship to the Activity table that have the same properties.  Those do not cause errors.  In fact this one is the only entity relationship listed in the entire install log file.

 

Any ideas on how to fix this?

I have the same question (0)
  • Crazy Rasik Profile Picture
    23 on at

    Hello @tschopp did you get any solution for this Error

  • Crazy Rasik Profile Picture
    23 on at

    @tschopp Please refer to this Blog  for the Solution Click here 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard