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

Syncing Onedrive for Business with Sharepoint

Hi, I want to do the following:

 

I have a folder with 3 subfolders on onedrive for business. The content of these 3 subfolders is filled by an external automatic backup routine. (ipad Goodnotes Automatic Backup)

Each of these 3 subfolders shall sync to 3 different sharepoint-site-folders like this:

 

...when a file is created/altered in .... the sync this file to ....

Subfolder(OnedriveforBusiness)1<=>Folder1 on Sharpointsite1

Subfolder(OnedriveforBusiness)2<=>Folder1 on Sharpointsite2

Subfolder(OnedriveforBusiness)3<=>Folder1 on Sharpointsite3

 

I havent't found a solution for this in power automate. Can anybody help me?

 

goodnotes.JPG

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

Hi @markus72 

I set up a flow, you can refer below screenshots to see if it helps.

Assume I have a main Folder named 'SynFolder' with three subfolder like below:

vLilyWmsft_0-1638841949295.png

Flow in details:

vLilyWmsft_1-1638842034839.png

vLilyWmsft_2-1638842049495.png

vLilyWmsft_3-1638842073569.png

Expression:

last(split(outputs('Compose'),'SynFolder/'))

vLilyWmsft_4-1638842088755.png

Expression:

first(split(outputs('Compose_2'),'/'))

vLilyWmsft_5-1638842129956.png

vLilyWmsft_7-1638842690924.png

When a new file is created in Subfolder2, the file will be synchronized to Folder1 in site2.

vLilyWmsft_9-1638842878556.png

vLilyWmsft_10-1638842904419.png

vLilyWmsft_11-1638842949815.png

Hope the content above may help you.

Best Regards

If my answer 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.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,090)