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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Organization Service for Multi Threading or Parallel Processing

(0) ShareShare
ReportReport
Posted on by 390

Hi,

What is the best approach to multi threading or parallel processing in MS Dynamics CRM.

I have to create new records in Dynamics CRM take for example 1 million records. I will use 5 threads to create those records parallel so that it completes in time. What is the best way to create organization service so that the each thread creates the record in parallel without affecting another thread. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Wayne Walton Profile Picture
    13,730 on at

    Why not just use the batch functionality in the API? community.dynamics.com/.../web-api-bulk-operations

  • Community Member Profile Picture
    on at

    Hello Jayakumar,

    I believe the post from Scott Durow might be very helpful for you. :)

    Cheers!

    ---

    I missed the link. Kenneth Leong posted it.

  • Kenneth Leong Profile Picture
    360 on at
  • Kenneth Leong Profile Picture
    360 on at

    actually scott wrote a whole series of 3 parts documenting this and i've found great success sending requests successfully. The last one is of particular importance. It documents the rarely used CachedOrganizationService and how it affects the loading of metadata on authentication and how to squeeze every last millisecond out of your connection to crm.

    www.develop1.net/.../Microsoft-Xrm-Client-Part-3a

  • Jayakumar Profile Picture
    390 on at

    Hi Wayne,

    How to use this in SSIS or .NET Console application?

  • Jayakumar Profile Picture
    390 on at

    Thanks Pedro and Kenneth. I will try this method.

  • Suggested answer
    Roberto Ilidio Profile Picture
    Microsoft Employee on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans