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

Sync Onedrive Business to Sharepoint

Hello,

 

I didn't found a solution to my task, or not enough ! A template exists, I want more.

My files are hosted on my Onedrive Business and I want to share all the folders and files on a Sharepoint of my company, the template I found only copying modified files on the root folder.
Do you have a flow to sync all folders and subfolders with files at the good place ?

Thanks of your help

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Sync Onedrive Business to Sharepoint

Hi!

according to the official documentation 'List files in root folder' "gets the list of files and subfolders in the root folder."

https://docs.microsoft.com/en-us/connectors/onedriveforbusiness/#list-files-in-root-folder

so I guess you will need to filter 'subfolders', assign the filter output as the input to an 'Apply to each', then inide the 'Apply to each' add a 'List files in folder'

https://docs.microsoft.com/en-us/connectors/onedriveforbusiness/#list-files-in-folder

But please also note this operation also "gets the list of files and subfolders in the folder." So you would probably need to do the same again and again and again.

I mean if you have 6 folder levels, you will need to nest 6 'Apply to each'... I think limit is... 8?

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Sync Onedrive Business to Sharepoint

Hi!

according to the official documentation 'List files in root folder' "gets the list of files and subfolders in the root folder."

https://docs.microsoft.com/en-us/connectors/onedriveforbusiness/#list-files-in-root-folder

so I guess you will need to filter 'subfolders', assign the filter output as the input to an 'Apply to each', then inide the 'Apply to each' add a 'List files in folder'

https://docs.microsoft.com/en-us/connectors/onedriveforbusiness/#list-files-in-folder

But please also note this operation also "gets the list of files and subfolders in the folder." So you would probably need to do the same again and again and again.

I mean if you have 6 folder levels, you will need to nest 6 'Apply to each'... I think limit is... 8?

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

DuplanFlorian
New Member

Re: Sync Onedrive Business to Sharepoint

Oh la la la la ! That's what we said in France !
I never tought it will be so difficult, because I just saw a drag and drop system. I'm not able to make it. I'll see with my IT.
Thank you

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,915)