Skip to content

Michal Chmielus Blog

Microsoft Technology Passion Blog

Menu
Menu

Bulk load into Dynamics 365

Posted on 2019-01-17 by michalchmielus

This is fairly common to massive data load into Dynamics 365. Here you can find useful link to bulk load. As you know there are some constraints while accessing Dynamics 365 over SDK (Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy):

  • 1000 requests in Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest
  • 2 concurrent Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest

Firstly, you need to instantiate Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy class and open the WCF channel to your CRM Organization. Then within a new Task create a new instance of OrganizationServiceProxy using recent instances of IServiceManagement and SecurityTokenResponse variables.

Each OrganizationServiceProxy instance created within a Task can keep impersonated user.

You would also need to feed variable actionRequest of Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest which can be any of OrganizationRequest type.

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Unit Testing Dynamics 365 plugin code
  • Bulk load into Dynamics 365
  • Authenticate Azure App Service with Azure AD Security Group

Categories

  • Azure
  • Dynamics 365
  • Integrate Dynamics 365

Ratings

  • Unit Testing Dynamics 365 plugin code 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • How to bind Dynamics 365 with Azure Logic Apps 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • Utilize Data Export Service as data replication service in Dynamics 365 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • Call Dynamics 365 from Azure App Service 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
  • Authenticate Azure App Service with Azure AD Security Group 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
  • Bulk load into Dynamics 365 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
©2026 Michal Chmielus Blog | Built using WordPress and Responsive Blogily theme by Superb