cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
frixel
Level: Powered On

move file in OneDrive

what goes wrong?
I will create a flow that if a file is renamed with the word "Done" for the rest of the file name, the file must be moved to the Copy folder in OneDrive.

 

flow16.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

You can use the 'Move or rename a file' action:

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

As you said, the flow is started when a file is renamed.

I suggested you use the 'when a file is modified' trigger.

I have made a test on my side, please take a try with the following workaround, and it works will.

Capture1.PNG

 

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

frixel
Level: Powered On

Re: move file in OneDrive

Thanks for your comment,

I can't see what is filled in at Condition.
Is that like in my printscreen?

 

flow18.png

frixel
Level: Powered On

Re: move file in OneDrive

This is the result from this flow.

It does not copy the file.

 

flow19.png 

v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

Thanks for your feedback.

The value in the Condition action is shown as below:

Capture5.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

frixel
Level: Powered On

Re: move file in OneDrive


if I choose the option "When a file is modified" as in your example then I will not get the option "list of File Name " etc.

 

flow20.png

v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

Please make sure you have selected the same trigger with me:

Capture6.PNG

And pay attention on the Destination File Path: 

Capture7.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

frixel
Level: Powered On

Re: move file in OneDrive

Yes! Thats great, it works for a copy.

 

But... can i also move the file? 

 

v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

You can use the 'Move or rename a file' action:

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

frixel
Level: Powered On

Re: move file in OneDrive

Thank you, that is alse works great.

v-zhos-msft
Level 10

Re: move file in OneDrive

Hi @frixel ,

That's great.

Please Accept it as the solution to help the other members find it more quickly.

Best Regards,

Zhongys

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 213 members 5,315 guests
Please welcome our newest community members: