Move documents to a different library without losing version history

There can be many scenarios where you would want to move documents to a different library without losing version history.

Either you need to have 3rd party tools for migration or you have to use good old explorer view to migrate the documents.

Move documents to a different library without losing version history
SharePoint library Explorer view

If you try to copy over the files by opening both the libraries in explorer view, you might find out soon that, you will be able to copy only the latest version. Previous version history will not come over.
Resolution:
You can achieve this using explorer view if you MOVE the documents in explorer view, instead of copy. Just open both libraries in explorer view and ‘Drag and Drop‘ instead of copy & paste. If you move the documents to destination library, you will also get all the versions associated with it. Only caveat to this approach is, it updates the metadata to reflect the name of person performing the move and time. Latest version of the document has the time and name associated with the person performing the move. This is acceptable in my case, as long as I was able to move all the versions of the document.

Note: Both the libraries should have ‘Versioning’ enabled.

Update: Destination library should be at same site level. If not, you might get ‘Can’t read from the source file or disk‘ error message when trying to move the file.

Can't read from the source file or disk error
Can’t read from the source file or disk error

This behavior is by design and because of limitation of WebDAV move command.

Leave a Reply

Your email address will not be published.

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

Missing Office upload center

Couldn’t find annoying Microsoft upload center anymore in your Windows machine? Good news! It is gone forever. Microsoft replaced the upload center with ‘Files Needing Attention’ experience in Office applications. What is Microsoft upload center It is the application that deals with office file uploads to cloud services like SharePoint online, OneDrive for Business and […]

Read More

SharePoint Designer cannot display the item

You run into ‘SharePoint Designer cannot display the item’ error when you are trying to edit an existing workflow setup in Designer quite often when there is a windows update or update to .NET framework installed in your computer. In some cases it may also not allow you to create new workflows. Resolution: Clearing Designer […]

Read More

The underlying connection was closed: An unexpected error occurred on a send

PowerShell error – The underlying connection was closed: An unexpected error occurred on a send, while trying to run CSOM PowerShell code on SharePoint online sites. Same error while trying to use PnP cmdltes From network trace we are able to figure out that server is closing the TCP connection forcefully. Reason being a mismatch […]

Read More