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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

AA

(2) ShareShare
ReportReport
Posted on by 280
Good day experts, have you tried using update item action to update all of the rows in the SharePoint list?
I have a total of 57,000 items and want to update all of it at the same time, scheduled every quarter.
Hope you could help me with this.
Categories:
I have the same question (0)
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Hi,
     
    Since you are using SharePoint as datasource, It having threshold as 5K Items to process more than that we need to use Pagination.
     
     
     
    The flow will now get up to 100,000 records by requesting 5,000 records at a time perform apply to each and use update item in sharepoint list or send http request.
     
    Also set to the degree of Parallelism to maximum value (50) to improve the performance of the flow.
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
     
  • Suggested answer
    SwatiSTW Profile Picture
    741 Super User 2025 Season 2 on at
    Updating 57,000 items in a SharePoint list at the same time using the "Update Item" action in Power Automate is not feasible due to SharePoint's throttling limits and API request limitations. You need a batch processing approach to update items efficiently

    Solution 1 - Use Power Automate with a Recurrence trigger, Get Items (with pagination), and Send an HTTP request to SharePoint to batch update 1,000 items at a time using REST API. Introduce a 5-10 second delay every 5,000 updates to avoid throttling.
    Batch Update Request (Power Automate - REST API)
     

    Solution 2 - Use PnP PowerShell with Azure Automation for efficient bulk updates
     
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Hi, 
     
    Hope this link will guide you how to update (bulk) request in Power Automate using Batch Process in Send Http Request 
     
     
  • scorpio24 Profile Picture
    280 on at
    Hi @MSR@08012015 thank you for this. Can you please provide a screenshot of example workflow for Send HTTP Request?
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Hi,
     
    The below links provide step by step guide for batch update using power automate.
     
    If you facing challenge please let me know.
     
    Recommendation

    if you updating big records, go for some schedule jobs using Web Jobs or Azure Logic Apps, because as your data grows beyond the threshold capacity of batch operation, your business logic needs to revamped. Currently you are saying 57k what if over the years if the data gets double or tripled or even more.
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • scorpio24 Profile Picture
    280 on at
    @MSR@08012015 tried using the Send Http Request in SharePoint however, the flow still stops when the 10,000 limit is reached. only the first 10k in the list is updated. Any solution with this?
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Hi, 
    • Get the items and sort in asc order and pass the item to update.
    • Create a variable - Items Counter - total items count which you retrieved.
    • You might have already defined the batch size right (1000/2000/3000/5000) per batch right.
    • Create a Do Until action Items Counter =0.
    • After every batch completed reduce Items Counter value accordingly based on the batch size. 
    So It will process all items in the loop, all items will get updated.
     
    Hope this helps.
  • scorpio24 Profile Picture
    280 on at
    @MSR@08012015 I've already have a flow same to your instruction. Get items and updating the item is already per batch inside the Do Until. after 2 batches (1-5000 and 5001 to 10000), the flow ends.
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Scorpio,
     
    Can you please the full flow screenshot.
     
    I have tried previously using the same approach, In one variable get the total times count, condition variable greater than 0 after http request batch update increment the variable with - batch size.
     
    this will continue till the item count zero when reaches zero it ends.
     
    Queries
    • Initially with get items what  is threshold value you provided ?
    • Let us assume to already got the total item count using get items and set the count of items in variable and Do Until loop
    • Setting the counter value and defining the batch and update the values.
    • Why again get items inside the do until again?
     
  • scorpio24 Profile Picture
    280 on at
    @MSR@08012015 is it possible to show sample screenshot only of your flow so I can follow the proper steps on batching?
     
    My Get items is inside the loop since it is only getting 5,000 items. Since it is a scheduled flow, I cannot set its settings to pagination 100000.
     
    Do Until - Update Item formula is:  int(variables('ctrZ')) is greater than int(variables('intBatch'))
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard