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

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (27,636)