web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sync Onedrive Business...
Power Automate
Answered

Sync Onedrive Business to Sharepoint

(0) ShareShare
ReportReport
Posted on by 4

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

Categories:
I have the same question (0)
  • DuplanFlorian Profile Picture
    4 on at

    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

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard