'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