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 :
Customer experience | Sales, Customer Insights,...
Answered

How to export data from online Dynamics CRM to on premise SQL Server database

(0) ShareShare
ReportReport
Posted on by 16

Hi,

We converted from an on premise Dynamics 365 CRM to a cloud version. We had  a few SSIS packages that exported from Dynamics 365 and imports them to a SQL Server database. This worked fine when our CRM was also on premise. But it no longer works as the CRM is located in the cloud.

I was wondering if there is a way to create similar tasks that would export data from the cloud CRM to the on premise SQL Server? I read about KingswaySoft, but it's a bit pricey and I doubt we'll go this route. I also tried to use Power Automate, but I get the following error when I tried to query the records in the Accounts entity:

Http request failed as there is an error: 'Cannot write more bytes to the buffer than the configured maximum buffer size: 104857600.'.

Sincerely,

Jason

I have the same question (0)
  • Verified answer
    Bhartendu B Pandey Profile Picture
    Microsoft Employee on at

    Hi Jason ,

     

    Thank you for writing to us . I see we are wanting to perform the export of the CRM data from cloud to SQL on premises database.

     

    Here is a link which has the same discussion https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/262903/export-data-from-crm-online-to-sql-data-base/832999  which was done previously.

     

    Also regarding the usage of the Power Automate the error message you are receiving is a limitation as of now and we already have filed a suggestion for it

     

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Increase-the-maximum-buffer-size-from-100/idi-p/172620

     

    Please mark my answer as verified if you found it helpful. Please let me know if you have any other questions around the above.

     

    Bhartendu Pandey

    Support Engineer - Customer Engagement- Dynamics CRM/PowerApps/Power Automate

    Microsoft

  • Community member Profile Picture
    4 on at
    I ran into a very similar scenario when moving from on-premise to cloud Dynamics 365. The main issue is that cloud APIs handle large data differently, which is why your Power Automate flow is hitting the buffer limit space waves. One workaround is to implement pagination in your queries so that you fetch smaller batches of records at a time. That usually avoids the buffer error.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans