Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Update file property when a file is moved to another folder in same Library

I have a library where i have 4 folders: 


For this library I'm developing a SharePoint framework listview extension commandset so that I have extra buttons in the commandbar ribbon.


When i click on one of the buttons al selected items in a folder move to another folder in the same library (folder 3 => 4)

Now I want to make a simple flow that updates a choice field property of each file that is moved to the perticular folder. 

The problem that I have is that I can't seem to find a trigger that detects if a file is moved. I tried the when a file is created in a folder and the when a file is created trigger but these both won't do the trick.

Does someone now how i can detect if a file is moved to a specific folder in flow? 

Many thanks!

Jason Robesyn

Community Support
Community Support

Re: Update file property when a file is moved to another folder in same Library

Hi @JRobesyn,


I have made a test on my side and as you said, the moved file wouldn't trigger a flow with trigger "When a file is created" or "When a file is created or modified".

So I afraid that your requirement couldn't be achieved if you move the file from one folder to another.

As an alternative way, you could take a try to create a new file to the new folder, update the file properties and then delete the original file.


Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,879)