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 / Sharepoint Get files (...
Power Automate
Unanswered

Sharepoint Get files (properties only) filter with Path using ODATA filtering

(0) ShareShare
ReportReport
Posted on by

Hello there,

 

I am trying to get the built-in library "Documents" using Sharepoint Get files (properties only).  Since this action only allows maximum of 100 items, I am trying to filter Path using ODATA filtering.  However, no matter if I use Path eq 'xxxx' or {Path} eq 'xxxx', I get either column Path is not found or {Path} is not valid.

 

Because my site address is dynamic, return value is JSON, maybe this is why ODATA filter does not work.

 

Does anyone know how to filter correctly?  Thank you so much for your help.

 

Best regards,

David

 

getFilesPropertiesOnly.jpg

Categories:
  • WillPage Profile Picture
    2,339 Super User 2026 Season 1 on at

    Go into the settings of the action from the 3 dots menu, turn on Pagination and set to max 5000 items if you're on the seeded plan and something like 100000 on a paid plan. It'll error when you try and save if you've put a too big number in there and it'll tell you what your maximum is.

  • DavidLee Profile Picture
    on at

    Hello @WillPage ,

     

    Thanks for the info.  However, filtering would be a better solution as we use Sharepoint Documents as file server to store files, and number of files/folders will eventually be more than a certain amount.  Moreover, I have other condition actions afterwards, condition action processing that many rows of data will take too long in Power Automate.

     

    If I were to use static Sharepoint site by selecting from drop-down list, do you know what the correct Path column name is so that I can use ODATA filter?  I tried using the field "Limited Entries to the Folder", but initially if the folder does not exist, flow will stop due to error, so I need to use ODATA filter field.

     

    Thank you so much.

     

    Best regards,

    David

  • CU22072135-6 Profile Picture
    on at

    Hello @DavidLee ,

     

    Maybe you've already found a solution for your problem but

    for the path of your filtered item/file, you can filter in OData with the internal Sharepoint name of Path (FileDirRef)

     

    like this :

     

     

     

    Capture d’écran 2021-11-03 104315.png

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard