cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Strudel
New Member

Copy file from OneDrive > replace in SharePoint

Hello! I am brand new to automation and I am attempting to automate my workflow with two particular files in a folder(located in my OneDrive) with many other files(that I do not want copied), and replace the existing matching file in my team SharePoint anytime I modify them on my OneDrive. I can't figure out how to specify the two. I see where I can select the entire folder to copy over, but nothing I have found deals with just one file. Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @Strudel 

According to your description, you want to achieve that when two specific files are modified in OneDrive, the two files stored in sharepoint are also automatically modified. If any misunderstanding, please kindly let me know.

I set up a flow, please refer to the steps as below.

Assume I have the following two files stored in OneDrive and SharePoint.

vLilyWmsft_0-1630550968652.pngvLilyWmsft_1-1630550968656.png

Flow in details:

vLilyWmsft_2-1630550968658.png

vLilyWmsft_3-1630550968659.png

vLilyWmsft_4-1630550968660.png

vLilyWmsft_5-1630550968679.png

vLilyWmsft_6-1630550968688.png

vLilyWmsft_7-1630550968691.png

vLilyWmsft_8-1630550968694.png

vLilyWmsft_9-1630550968711.png

This is my complete Flow

vLilyWmsft_10-1630550968717.png

When I modified the file in OneDrive, the file in sharepoint will also be modified.

vLilyWmsft_11-1630550968718.pngvLilyWmsft_12-1630550968719.png

 

Hope the content above may help you.

Best Regards

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

View solution in original post

1 REPLY 1
v-LilyW-msft
Community Support
Community Support

Hi @Strudel 

According to your description, you want to achieve that when two specific files are modified in OneDrive, the two files stored in sharepoint are also automatically modified. If any misunderstanding, please kindly let me know.

I set up a flow, please refer to the steps as below.

Assume I have the following two files stored in OneDrive and SharePoint.

vLilyWmsft_0-1630550968652.pngvLilyWmsft_1-1630550968656.png

Flow in details:

vLilyWmsft_2-1630550968658.png

vLilyWmsft_3-1630550968659.png

vLilyWmsft_4-1630550968660.png

vLilyWmsft_5-1630550968679.png

vLilyWmsft_6-1630550968688.png

vLilyWmsft_7-1630550968691.png

vLilyWmsft_8-1630550968694.png

vLilyWmsft_9-1630550968711.png

This is my complete Flow

vLilyWmsft_10-1630550968717.png

When I modified the file in OneDrive, the file in sharepoint will also be modified.

vLilyWmsft_11-1630550968718.pngvLilyWmsft_12-1630550968719.png

 

Hope the content above may help you.

Best Regards

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

Helpful resources

Announcements
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!

Top Solution Authors
Users online (4,384)