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 / Do Until loop to proce...
Power Automate
Unanswered

Do Until loop to process more than 5000 items

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm using the 'do until' method to load and process more than 5000 files from a Sharepoint document library. However the 'Get items' step is loading more than 5000 items, which is causing an error in the subsequent 'Apply to Each' step.

On the Get Items I have specified a top count of 5000 and enabled paging with a threshold of 5000. However it's loading 7768 which is the full amount of files in the library.

 

Get itemsGet items

 

Get items settingsGet items settings

 

Count of files from get itemsCount of files from get items

 

Error on apply to loopError on apply to loop

 

Categories:
I have the same question (0)

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 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard