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 / GetFiles(Properties On...
Power Automate
Answered

GetFiles(Properties Only) - Wierd Behavior - Not Working

(1) ShareShare
ReportReport
Posted on by 17
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:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,508 Moderator on at
    @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
     
  • BD-15041227-0 Profile Picture
    2 on at
    You didn't answer the question.
     
    I had the same issue. When trying to use the GetFiles properties function.
    I found that the only way to make this work is to have the IncludeNestedItems as blank. Selecting either Yes or No returns nothing at all.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard