
'Expand' not working when used against odata feed in dynamics 365 portal.
Entity Permissions has been given with proper web roles assigned on both entities on Global scope.
Error : Query option 'Expand' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.
I am using this to get the related data of a related entity which are related by Many To Many Relationship.
url: "~/_odata/new_entity1?$expand=manytomanyrelationshipname"
*This post is locked for comments
I have the same question (0)No worries mate!! I did a workaround specified here and it works like a charm.
bernado-nguyen-hoan.com/.../querying-many-to-many-relationship-in-crm-portal-using-javascript