web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating a SharePoint ...
Power Automate
Unanswered

Updating a SharePoint List from Excel - Too Many Queries / Too Slow

(0) ShareShare
ReportReport
Posted on by 52

Greetings Experts 😉

 

I've made the world's simplest Flow and it's mis-behaving. It's taking 20+ minutes to run and I'm getting warnings about the number of queries it's making. 

 

I want to bring 5 values from an excel file into a SharePoint list - both lists are about 1700 rows in length.

 

Am I missing something obvious? It's so slow and there seem to be way too many queries for something so simple, albeit with 1700 rows.

 

Any suggestions very welcome 😉

 

flow.png
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,586 Super User 2026 Season 1 on at

    There is not enough information to determine why your flow is taking so long. Do you have a filter query on the Excel action or is every item in the spreadsheet being processed in the first apply to each? If every row in Excel is being processed, then that is 1,700 get item actions. And then you are doing another apply to each on the items retrieved from SharePoint. Is there a filter query on the Get items action? If not, then you are getting and updating 1,700 items in your second apply to each. That would explain why it is taking 20 minutes as that would be over 5,100 actions the flow needs to take, which means it is processing each one in about 1/4 second.

  • lbendlin Profile Picture
    8,709 Super User 2026 Season 1 on at

    Consider using the Sharepoint Batch API.

  • Bub Profile Picture
    52 on at

    There is a filter on the get items query. It just checks that the Title matches each entry title from the spreadsheet. So it does process all 1700 items in both the list and spreadsheet.

     

    Someone mentioned Batch API - might this help?

  • David_MA Profile Picture
    14,586 Super User 2026 Season 1 on at

    I've never used the batch API yet. Maybe @lbendlin can offer insight.

  • lbendlin Profile Picture
    8,709 Super User 2026 Season 1 on at

    The documentation is pretty good. Bit of a heavy lifting, but worth it.

     

    Make batch requests with the REST APIs | Microsoft Learn

  • Bub Profile Picture
    52 on at

    Sorted. Now runs in under a minute. Not a bad reduction from nearly half an hour previously!

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard