web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard