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

Community site session details

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

Getting exception as Number of parameters in a condition exceeded maximum limit while updating multiple records one by one

(0) ShareShare
ReportReport
Posted on by 20

Hi everyone,

I have used below piece of code in the API ,which I am using for updating entities related to contact entity:
orgService.Update(entity);

I am sending Contact entity one by one to API and then I am using above method call for updating entities related to it. 

But after updating entities for some contacts, its throwing exception as below:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Number of parameters in a condition exceeded maximum limit. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).

I have the same question (0)

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 241

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 164 Super User 2025 Season 2

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 153

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans