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
Suggested Answer

SharePoint “Get files (properties only)” OData filter on Created stopped working (previously fine)

(0) ShareShare
ReportReport
Posted on by

I have multiple Power Automate flows using Get files (properties only) with an OData filter on the Created field.

 

Example:

 
substringof('FolderName', FileDirRef) and Created ge '2026-01-15T00:00:00Z'
 

This returns zero results, even though:


  • Files exist with Created timestamps after this date

  • substringof('FolderName', FileDirRef) alone returns many items

  • The date is hard-coded in valid ISO 8601 format

  • This logic worked for months and recently stopped

  • Older flows using the same pattern are now also broken 

Is there a known regression or recent change in SharePoint OData filtering for the Created field when using Power Automate?


     
I have the same question (1)
  • Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at
    Hi,
     
    SharePoint OData Created ge recently changed ---use dynamic expression instead of hard-coded date.
     
    Replace '2026-01-15T00:00:00Z' with formatDateTime('2026-01-15','yyyy-MM-ddTHH:mm:ssZ') or use Created ge @{formatDateTime(addDays(utcNow(),-1),'yyyy-MM-ddTHH:mm:ssZ')}.
     
    Recent SharePoint update requires exact UTC timezone format and dynamic dates.
     
    Test with single condition first (Created ge '2026-01-15T00:00:00Z' alone), then add folder filter.
     
    Clear flow cache and recreate connection if still broken.
     
     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz
  • Suggested answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at
    Hi
     
    You need the below ODATA filter.
     
    FileLeafRef eq 'invoices' and FSObjType eq 1 and Created ge '2026-01-15T00:00:00Z'
     
    FSObjType is the folder name if you are trageting to filter only the folders.
     
    You can use with out that as well then it look for folders and files.
     
    FileLeafRef eq 'invoices' and Created ge '2026-01-15T00:00:00Z'
     
    Let me know how it goes.
  • CU16010044-0 Profile Picture
    on at

    Hi Riyaz / abm,

    Thanks for the suggestions. I’ve tested this thoroughly and wanted to share concrete outputs.

    I’m using Get files (properties only) on a document library. Files exist that show Created = about an hour ago in the SharePoint UI.

    However, even with a wide window and no folder constraint, the following filter still returns an empty array:

     
    Created ge '2026-01-18T00:56:47Z' and FSObjType eq 0
     

    The resolved filter in the connector output is:

     
     
    $filter=Created ge '2026-01-18T00:56:47Z'
     

    and the response body is:

     
    "value": []
     

    I also recreated the SharePoint connection, removed/re-added the action, and tested static dates as well as dynamic expressions.

    Since the UI clearly shows files with Created timestamps inside this range, is this a known regression with Created filtering in Get files (properties only), or is there another supported field/property for filtering by file creation time in this action?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard