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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / copy onedrive to share...
Power Automate
Unanswered

copy onedrive to sharepoint document library

(0) ShareShare
ReportReport
Posted on by 14

Hi.

 

I'm trying to create a flow where when a user creates/adds a file to their OneDrive for Business, it then copies the file over to a sharepoint document library.

 

I'm running across some issues and am unsure what i'm doing wrong.  I could be inputting the wrong information.  Below is a picture of the flow setup.

 

msflow.JPG

 

Could you let me know what I'm doing wrong?

 

thanks.

 

phong

Categories:
  • RajRa Profile Picture
    Microsoft Employee on at

    Hi Phong,

     

    Your flow looks right to me. Can you let me know what errors you are running into?

    You can also view the history of your runs by going to https://flow.microsoft.com/manage/flows and clicking on the i icon.

     

    Alternately - if you let me know the id you are using to login - I can look it up.

     

    thanks

     

     

     

  • phorpa Profile Picture
    14 on at

    Hi RajRa,

     

    Right now, I can't even get any of the flow to run.

     

    I've deleted and started again, so all the errors are gone, but yes, my id is pho@rpa.com.

     

    Thanks.

     

    Phong

  • RajRa Profile Picture
    Microsoft Employee on at

    Pho,

     

    Unfortunately, I'm unable to look up based on the id you gave me - Is that the one you use to log in to flow.microsof.com?

    If yes, can you use chrome, sign in to flow.microsoft.com, press Ctrl+Alt+A and email the output to rajra@microsoft.com

     

    thanks

     

  • phorpa Profile Picture
    14 on at

    Sure.

     

    Here you go.

     

    Emailed.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am trying to do the same and lost. Appreciate response if this has now been resolved.

  • phorpa Profile Picture
    14 on at
    No. Not resolved yet. I gave up. I heard that MS will eventually allow users to move onedrive over to SharePoint site.
  • RajRa Profile Picture
    Microsoft Employee on at

    Sorry for dropping this. I will look into this today and update.

     

  • ashwinsa Profile Picture
    Microsoft Employee on at

    Hi phorpa,

     

    Apologies for the delay in getting to address this.

     

    I restate the scenario merely to confirm my understanding.

    "The goal is to replicate the files that you create in OneDrive For Business, into a Sharepoint folder"

     

    If the above is the scneario, then the flow needs to be authored slightly different than the one provided at the top of the thread.

     

    I have attached a snapshot of a sample that works successfully. Please modify the flow to reflect this and let us know if it works.

    OneDriveForBusinessToSharepointFolder.PNG

     

  • phorpa Profile Picture
    14 on at

    Hi Ashwinsa,

     

    That seemed to work but with a few caveats.

     

    It only seems to work when I drop files off via web browser and not through my OneDrive for Business app. The OneDrive for Business app syncs up to the web without any problems, but then the flow doesn't kick off and copy files over to the SharePoint site.

     

    Another thing that I noticed is that it doesn't copy over video files. I've placed a .mp4 file on my OneDrive and it didn't show up on the SharePoint site.  

     

    What files are supported?  What are the file size limitations?

     

    Thank you.

     

    Phong

  • ashwinsa Profile Picture
    Microsoft Employee on at

    There is a file size limit of 25MB so that might be limiting the mp4 from getting copied over.

     

    I will look into the issue and try to reproduce where sycing files from the mobile app isn't showing up in the sharepoint site.

     

    Can you confiorm that the flow runs were indeed skipped when you updated the file from the app ?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard