Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

GetFiles(Properties Only) - Wierd Behavior - Not Working

(1) ShareShare
ReportReport
Posted on by 5
Hello, Extremely frustrating but here you.
 
Sharepoint Library: Time Sheets
Time Sheets has 2 Sub Folders: Archive, Processing.  Archieve Has Many Subfolders.
Library/All Folders only has Excel Files - xlsm.
 
I created a Power Automate Flow.  & Step that is Failing is GetFiles(Properties Only) -- Its not returning any data.  Configured as Follows:
 
Site Address:  Sharepoint URL
Library: Time Sheets
Limit Entries To Folder: /TimeSheets/Processing
Include Nested Items: No
Filter Query: Blank
Order By: Blank
Top Count: 1
Limit Column by Views: Blank
 
There are files in /TimeSheets/Processing.  I can physically see them.  It should return one file from /TimeSheets/Processing folder but it returns NULL
 
However; if I make the following two parameters Nulll
Limit Entries To Folder:  Blank
Include Nested Items: Blank
 
It returns data from Archive Folder which is the 1st folder listed in Time Sheets library, sub-folder 2018 which is also the first folder listed within Archive folder and returns a file whose name is starts with A.  So it seems like for whatever reason it is going by sort order.  The probelm is that if I define the parameters for  Limit Entries To Folder: /TimeSheets/Processing & Include Nested Items: No, I get no data.
 
Can you help!
 
Categories:
  • Verified answer
    creativeopinion Profile Picture
    10,383 Super User 2025 Season 1 on at
    GetFiles(Properties Only) - Wierd Behavior - Not Working
    @CU08042159-0 Fun fact. The Get Files (properties only) returns folders as well. You need to use a Filter Query to return Files only. Refer to this YT Short. Additionally, this action will limit the number of returned files and folders to 100. If you have more than 100 files and folders (combined) in your doc library, you need to toggle on pagination. 
     
    In the meantime, you might be interested in these YT Tutorials:
     

    In this Power Automate tutorial, I explore 5 frequently asked questions that pop up when troubleshooting a flow. If you’d like to to level up your Power Automate flow skills and learn how to troubleshoot your Power Automate flow—this tutorial is for you!

    IN THIS VIDEO:
    ✓ How to troubleshoot a false Condition action result
    ✓ How to get dynamic content when it isn’t selectable from the list of dynamic content
    ✓ How to troubleshoot an Apply to Each action that isn’t looping through
    ✓ How to troubleshoot a skipped Apply to Each action
    ✓ How to troubleshoot a Filter Query
    ✓ How to use a SharePoint yes/no column in a Filter Query
    ✓ How to use Compose actions to troubleshoot a Power Automate flow
    ✓ How to troubleshoot multiple emails being sent
    ✓ How to troubleshoot multiple Teams messages being sent
     
    If you still run into issues while building your flow, share screenshots of your full flow and the logic behind it. Upload a screenshot of your flow in edit mode. If you are using the new designer, toggle it off and click each action to expand it.
     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,898 Most Valuable Professional

Leaderboard