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

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

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,040)