Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

MultiSelect Picklist Attribute Metadata not returned when using OAuth authentication in Dynamics CRM (Online version).

(0) ShareShare
ReportReport
Posted on by 5

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.

  • Mohsin Ali Profile Picture
    3,618 on at
    RE: MultiSelect Picklist Attribute Metadata not returned when using OAuth authentication in Dynamics CRM (Online version).

    Multiselect attributes don't return through any authentication.

  • Nina691 Profile Picture
    5 on at
    RE: MultiSelect Picklist Attribute Metadata not returned when using OAuth authentication in Dynamics CRM (Online version).

    Yes, I am using SOAP now. They are returned when using this URL: api/data/v9.0/EntityDefinitions(LogicalName='contact')/Attributes/Microsoft.Dynamics.CRM.MultiSelectPicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet.

    But, I was wondering if there is any other way as I have a requirement to use SOAP.

  • Guido Preite Profile Picture
    54,077 Moderator on at
    RE: MultiSelect Picklist Attribute Metadata not returned when using OAuth authentication in Dynamics CRM (Online version).

    why you are using SOAP? did you check the results if you use the OData 4.0 endpoint? (EntityDefinitions)

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans