Copy files and folders from #OneDrive for Business to a #SharePoint site

This week Microsoft announced the first phase of rollout for copying and moving files between SharePoint and OneDrive.

In Office 365, you’ll be able to copy files from OneDrive for Business to destinations in SharePoint or OneDrive, but not yet from team site to team site.

Copy/Move works for both modern and classic experiences on target team site document libraries.  You can copy single files, multiple files, or whole folders, preserving metadata.

OneDrive-Sharepoint-Copy-Command

Though there are current limitations to the copy command:

  • Each copy operation between OneDrive and SharePoint is limited to a maximum size of 50MB.
  • To enable copy scripting must be turned off for personal sites. If scripting is turned on for personal sites in your organisation (by default this was on for Office 365 tenants created prior to November 2014), the Copy command is restricted to copying within your OneDrive.
    As a good practice to prevent cross-site scripting attacks and more importantly to enable the new copy command as described above, you (or your SharePoint Online Administrator or Office 365 Administrator) can choose the option “Prevent users from running custom script on personal sites.” within SharePoint Admin Centre settings area.

As expected, Microsoft is planning to add more features:

  • We have more plans to enhance the Copy/Move functions in the coming months:
  • Adding support for all file sizes, beyond today’s 50MB limit.  (We know the vast majority of files in OneDrive are below this limit today.)
  • Copy files among SharePoint team sites.
  • Finally, we will also add the ability to move files, as well as copy files, among SharePoint Team sites as well as OneDrive sources.

You can share your feedback on the Office 365 Network or on http://sharepoint.uservoice.com.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Chirag Patel is an independent technology consultant & trainer whose work revolves around Generative AI, Collaboration, Productivity and Security & Compliance for organisations using Microsoft technologies for over 25 years. With background in business systems analysis & design, data & information management, he engages with customers achieve desired outcomes and shares his expertise at many technical community events.

Recent projects include:
– M365 strategy & architecture design
– Divestments and content migrations
– Content compliance implementations
– Authoring & delivering M365 & Purview training courses

About Chirag >