When using OAuth authentication in Dynamics CRM Online MultiSelectPicklistAttributeMetadata EntityType is not returned . The request being sent is like below:
EntityFilters
Attributes Relationships
MetadataId
00000000-0000-0000-0000-000000000000
RetrieveAsIfPublished
false
LogicalName
contact
RetrieveEntity
However, when I use Basic authentication, I can get these fields. I noticed that with this form of authentication I get as part of the metadata the attribute type for these fields and its data related. I have included the request and the response below.
Request:
http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute
9.0.9002.0
urn:uuid:xxxxx
http://xxxx
https://xxx.crm.dynamics.com/XRMServices/2011/Organization.svc
...
xxxxx
xxxxxxxxx
xxxxxxxxx
EntityFilters
Attributes Relationships
MetadataId
00000000-0000-0000-0000-000000000000
RetrieveAsIfPublished
false
LogicalName
contact
RetrieveEntity
Response:
...
Is there any type of configuration that needs to be made in my custom app to get these fields when using OAuth authentication? Or any kind of configuration from the UI of my account?
Thanks for the help.