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 / Get File (Properties O...
Power Automate
Unanswered

Get File (Properties Only) not working consistently

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I'm having a weird situation in which many of my flows have stopped working since Monday...

 

I have built some flows to process data from SharePoint. One of them it triggers every day at night to process the data from the day before. For whatever reason, the Get File (Properties Only) always returned Status Code 200, and retrieved 0 files to process when it is not the case. 

 

I have tried to do a test only having the  Get File (Properties Only) piece, and two scenarios:

 

  • Get File (Properties Only) with filter files created between two dates

Get file Properties between datesGet file Properties between dates

 

  • Get File (Properties Only) files greater than a day. 

Get file Properties bigger than a dateGet file Properties bigger than a date

 

As you can see the first one didn't work, while the second one did work and retrieved some data

 

While adding the screenshots, noticed that the dates where not correct as the one it was working was for files created today or later.

 

So I did another test, selecting files created as of yesterday, leaving with the Status Code 200 and no files retrieved. 

 

Power Automate - Not working 2.png

 

 

Can someone help me out? Am I doing something wrong that I'm not seeing? 

 

Thank you. 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    In general Dates are always evaluated as Dates and Times.  If its a date only it tends to default to that date at midnight.  So to get all the files for today you actually need to test for yesterday at midnight and today at midnight.  Time zones can also cause a problem since the dates are stored in UTC (Greenwich Meant Time) But you are probably checking against a date in your current time zone.  Try using a filter that is greater than UTCNow() minus two days and less than UTCNow().  I think that will give you the files for Today.

  • Community Power Platform Member Profile Picture
    on at

    It is working for all the days, but for the 22nd of July. The attachments is one flow for two days. 

    22nd to 23rd July (Not working)

     

    jjbarreno_0-1595951749996.png

     

    23rd to 24th July (Working) 

    jjbarreno_1-1595951807094.png

     

    When checking on the Sharepoint the files for 22nd of July they do exist. 

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    In this case I suspect what is happening is the result of timezone shift.  Can you check the time and date for some files that were created on 7/22?  Are the times of creation spread evenly throughout the day?  Or are they all clustered at the beginning or end of the day?  Depending on where you are located the shift from UTC, the way its stored, and the time you are inputting based on local time could shift the date to a different day.

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