Showing results for 
Search instead for 
Did you mean: 
Post Partisan
Post Partisan

Export to Excel from sql server taking lot of time for large number of rows


I have flow that exports data from SQL to excel. It has around 4000 rows. The export time is around 5 to 6 hours.

Please help with a solution for the same.


Super User II
Super User II

hi @cyberco01  i Invite you to use aply.PNGexcel.PNG

Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!

If you want you can follow me at Quieres contenido en español? Síguenos en Power Automate LA

I think I have the same situation as you @cyberco01. I am exporting all the rows from an sql database to an excel table. The flow is very slow and it fails before complete because it makes too many calls to API I think. This is the error details:
"Looks like your flow's operation is hitting an action limit designed to protect the connector service being called".
By the way the flow can put like 2040 rows in the excel table and than it fails. The time passed in the "Apply to each" step is sooo long, like 2 hours. I am following your suggestion of settings @ChristianAbata but I don't understand where to put the pagination and that threshold of the second image. Below you see a screenshot of my flow. If I am going off topic @cyberco01 don't esitate to tell me and I will open a new Question.


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,645)