web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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.

I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at

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

  • Nina691 Profile Picture
    5 on at

    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.

  • Mohsin Ali Profile Picture
    3,634 on at

    Multiselect attributes don't return through any authentication.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 144 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans