Hello,
My scenario is that I want to access contacts parent account (parentcustomerid) in order to then be able to access the sharepoint documents that's linked to the account and display them in a sub grid.
But the problem I encounter is that I can not even get the parent account via an entity list, fetchXml or odata. I can get the name and ID on the parent account via liquid but not further than that.
SharePoint is enabled and i've added Account entity in document management in D365.
Tested fetchxml:
<fetch>
<entity name="account" >
<attribute name="name" />
<attribute name="accountid" />
<link-entity name="contact" from="parentcustomerid" to="accountid" >
<filter>
<condition attribute="contactid" operator="eq" value="{{user.id}}" />
</filter>
</link-entity>
</entity>
</fetch>
Entity list error

If i try to specify the account id to an readonly entity form on a web page i get nothing. account-details/?id=<accountid>

I have a partner portal where we have a relationship between Account and Contact. Contacts are related to one Account.
Entity permission:


Does anyone know what might be the problem?
Best Regards,
Erik