Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Count of files in SharePoint Folder returns 100

(0) ShareShare
ReportReport
Posted on by

I'm trying to build a Workflow that will first count the files in a SP Folder.

Now, although I have more than 100 files in the folder, I'm always getting 100. When It's below 100, I get the right number.

In Compose, I used the following expression:

 

length(body('Get_files_(properties_only)')?['value'])
 
So, how can I overcome this limitation?

 

 

yjamous_0-1689800499143.png

 

  • Verified answer
    creativeopinion Profile Picture
    10,450 Super User 2025 Season 1 on at
    Re: Count of files in SharePoint Folder returns 100

    Click on the three dots in the Get files (properties only) action and click on Settings.


    Toggle on Pagination and adjust the threshold of items to return.

    creativeopinion_0-1689801870691.png

     

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉Watch my tutorials on YouTube
    👉Tips and Tricks on TikTok

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1