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 / Update Folder Modified...
Power Automate
Answered

Update Folder Modified date when new file added

(0) ShareShare
ReportReport
Posted on by 182

Hi All,

 

I'm trying to create a flow that will update the date modified on my case files (folders), when a file is added or modified.  The goal here is to have the case file's modified date match the most recent document modified date.

 

Any assistance would be appreciated.

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

    The modified date is normally populated by the system and can't be updated manually.  There are ways to force it to update using a REST call. This article talks about how to make these updates in Flow, but the REST call is the same.

    http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-microsoft-flow

  • cdn4lf Profile Picture
    182 on at

    Thanks.  How do I get the name of the folder the file is located in?  I'd like the flow to run at the library level and every time a file is created, adjust the date modified on the appropriate folder / case file. (I fully realize I'm probably missing something very basic here).

     

     

  • Pstork1 Profile Picture
    69,427 Most Valuable Professional on at

    You should be able to get the name of the Folder from the Path for the file.  But this is not going to be a simple easy Flow to write. It should be possible, but I doubt you are missing something basic.

  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @cdn4lf ,

     

    There is a property called 'Folder Path' under When a file is created (Properties only) step. So you could use that and go through the API update link which @Pstork1 mentioned.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

     

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @cdn4lf,

     

    Has your problem been solved?
    If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Best Regards,
    Community Support Team _ Lin Tu

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard