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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy from one drive bu...
Power Automate
Answered

Copy from one drive business to SharePoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm new to Flow so I apologize if this has been answered already as I could not find it.

 

I need to copy a file that is saved to a OneDrive Business to a SharePoint document folder.

 

I need it to copy any file that is placed in the OneDrive Business folder, regardless of name or file extention. 

Then save it into the SharePoint document folder, and overwrite if the file is already in place

then delete the files from the OneDrive folder as I do not want it to keep copying the file every 15 minutes

 

This is what I have but it doesn't seem to work.

 

 Capture.JPG

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Xodiak83,

     

    Please consider to use action “Create file” instead of “Copy file”.


    I created a flow looks like below, every time the file is created in Onedrive for Business, it will also be created to Library. And if the file is already existing, it will be replaced by the new one.

    1.png

     

    Please try this on your side and let me know if it works.

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you v-yamao,

     

    I did that and it worked fine, however I ran into some issues this morning.

     

    I made this change as you indicated in your image yetserday while I was just playing around with the program and got it to work, every fifteen minutes it copied over any new file in the folder.

     

    This morning however, while I was expecting it to run around 6am, nothing happened, I had to manually log on and move the file.

     

    Does FLOW use windows scheduler or something to work or do you have to be logged in to have it working?

    Cause after I made this change, a coworker dropped a file int he folder this morning and the FLOW didn't move the file as it should have, she is listed as a owner of the FLOW as well (its a team flow).  The only files that will move are ones I place in there, and even then its only moving over one file and only the first one put in the folder.

     

    Thank you again for all your help, very much appreciated.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried to do the same. But if I copy and paste into the OneDrive for Business folder, than the files are not copied to Sharepoint. Any idea how I can get it working. And on top of it I would like that all folders in Ondrive are not taken into account for the copy process. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard