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 Platform Community / Forums / Power Automate / Power Automate Flow fo...
Power Automate
Unanswered

Power Automate Flow for Archiving SharePoint Files (Performance Issues)

(1) ShareShare
ReportReport
Posted on by 1

I’ve built a Power Automate flow to archive SharePoint files that are older than 18 months from one document library to another while maintaining the folder structure. This is my first time using Power Automate and coding, so my setup might not be the most efficient.

The SharePoint library contains around 1 million files. The flow works perfectly in testing, but I’ve encountered issues when running it at scale:

  • If pagination is turned off, the Get Files action returns an empty result.
  • When pagination is turned on, the Get Files action retrieves data correctly but takes an extremely long time to execute.

Has anyone experienced this before? Are there any best practices to improve performance when handling large datasets in Power Automate? Any guidance would be greatly appreciated!

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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard