Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Get files (properties only) not returning all info on all the documents

(0) ShareShare
ReportReport
Posted on by 282

I have a flow that is activated from a folder being updated. The flow uses "Get files (properties only)" to determine if the folder has documents to update. A lot of attributes are propagated from the folder to dependent documents. If the folder has dependent documents, the "Get files (properties only)" returns an array of file attributes. Recently, I've noticed two conditions where the API call returns an empty array when files are present.

The first should be reproducible. This was discovered after noticing that the attributes were not propagated to the documents within the folder. I reasoned that maybe the folder was corrupt, so I created another folder and did a SharePoint "Move to" to remove all the documents. Then I noticed that attributes were not being propagated in the new folder. The flow returned an empty array when there were documents present.

I also downloaded all the documents before I did the "Move to."

I decided to upload just one of the documents to the emptied folder. Then, the attributes got propagated. Next, I uploaded all the rest using the Control key to select them. The same thing happened: all the attributes from the folder were propagated.

I have no idea how the user initially got this condition to occur since they wouldn't have permission to do a "Move To."

I got this working, but I'm stumped at the behavior.

 

 

 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492