cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ezequiel
Microsoft
Microsoft

Error deleting rows in an excel table

Hi,

 

I have a flow that needs to the delete the entire content of a table in Excel. I'm using the normal process of reading the entire table and then an "Apply to Each" to delete each row. The flow is being cancelled with the following error:

 

"Looks like your flow's operation is hitting an action limit designed to protect the connector service being called."

 

The table contains about 500 records. Any idea on how to solve this or prevent it from happening?

 

Thanks

 

Ezequiel

3 REPLIES 3
AnthonyAmador
Community Support
Community Support

Hi @ezequiel 

 

The connector is probably throttling, the throttle limit for this connector is 100 API calls every 60 seconds. 

 

Excel Online (Business) - Connectors | Microsoft Docs

 

My recommendation is implement delays in the "Apply to Each". 

 

Hope this helps.

Best Regards. 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

takolota
Super User
Super User

@ezequiel @AnthonyAmador 

 

Check out the new Excel Batch Delete template. It can handle your request in under 30 seconds with less than 8 actions.

https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Delete/td-p/1634375

MarconettiMarco
Super User
Super User

Hello,

by default the "List rows present in a table" gets only 256 records. In order to increase this limit, in the Action settings you should enable the Pagination and insert the threshold of items to return.

 

Then in the "Top Count" field, please specify the maximum number of rows to return.

Please refer also to the following article:

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Working-with-pagination-in-Power-A...

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

 

BR,

Marco

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,171)