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

When you want to share files with a team of people, or even give the team ownership, you can copy files from OneDrive for Business to a SharePoint site. Learn more about when to save your documents to OneDrive for Business or SharePoint.

We're still improving the Copy feature and we expect to remove the 50 MB file size limit by early in 2017. To learn more about what's coming, see the File Copy/Move announcement.

  1. Select the items that you want to copy, and then select Copy to.

    Screenshot of the Copy to command in OneDrive for Business

  2. Under Choose destination, select the site you want to copy to.

    You might have to select Browse sites to see the site you want.

  3. Select the location where you want the items to go, and then select Copy here to start copying the items.

    Screenshot of the Choosing a destination when copying a files from OneDrive for Business to a SharePoint site.

Limitations of the Copy command

We'll improve the Copy experience and related commands in future releases, so we're just getting started. But for now, the Copy command has the following limitations:

  • 50MB file limit Currently, the size of files and folders you can copy at one time is limited to 50MB. Support for larger files is coming.

  • Scripting must be turned off for personal sites If scripting is turned on for personal sites in your organization, the Copy command is restricted to copying within your OneDrive.

Turn off scripting for personal sites (Admin only)

You can copy files from OneDrive for Business to SharePoint sites only if scripting for personal sites is turned off. Tenants created after November 2014 have scripting turned off by default. If scripting is turned on, the option to copy to sites or groups won’t appear for users. In other words, those users will only get the option to copy within their OneDrive for Business.

This dependency on scripting being turned off is a security measure to safeguard against cross-site scripting attacks.

We highly recommend turning off scripting so your users can take advantage of the Copy feature and other upcoming features as personal sites align more to the OneDrive experience. For your scenarios requiring scripting, we suggest moving to SharePoint sites instead.

To check whether scripting is turned on for your personal sites, or to change the setting, see instructions below.

  1. Sign in to Office 365 with your work or school account.

  2. Go to the SharePoint admin center.

    Office 365 admin tile highlighted
  3. Select Settings.

  4. Under Custom Script choose Prevent users from running custom script on personal sites.

    Screenshot of the custom script setting in the SharePoint Online Admin Center

  5. Click OK.

    Note: Please allow about 24 hours for the change to take effect.

To learn more about disabling scripting including the features affected, see Turn scripting capabilities on or off.

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!