Unable to view the version for the files & total number of items for a user's OneDrive's files lib

%3CLINGO-SUB%20id%3D%22lingo-sub-785923%22%20slang%3D%22en-US%22%3EUnable%20to%20view%20the%20version%20for%20the%20files%20%26amp%3B%20total%20number%20of%20items%20for%20a%20user's%20OneDrive's%20files%20lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-785923%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20user%20who%20left%20the%20company%2C%20and%20i%20want%20to%20move%20all%20his%20files%20inside%20his%20OneDrive%20site%20(private%20and%20shared)%20to%20a%20sharepoint%20document%20library.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20the%20Office%20365%20admin%20(who%20can%20view%20the%20user's%20private%20files)%20%26gt%3B%26gt%3B%20i%20have%20selected%20all%20the%20user's%20OneDrive%20main%20folders%20%26gt%3B%26gt%3B%20click%20on%20%22Copy%20To%22%20%26gt%3B%26gt%3B%20select%20the%20destination%20sharepoint%20document%20library.%20and%20the%20process%20started.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20as%20part%20of%20verifying%20if%20everything%20will%20be%20copied%20correctly%2C%20i%20am%20not%20sure%20how%20i%20can%20view%20these%20info%20inside%20the%20user's%20OneDrive's%20Files%20lib%3A-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20i%20am%20unable%20to%20view%20the%20total%20number%20of%20items%20inside%20the%20user's%20OneDrive's%20Files%20library.%20i%20tried%20to%20get%20this%20info%20inside%20the%20classic%20and%20modern%20UI%20but%20without%20any%20result.%20for%20example%20inside%20sharepoint%20site%20%26gt%3B%26gt%3B%20you%20can%20click%20on%20site%20content%20and%20get%20the%20total%20number%20of%20items%20inside%20any%20list%2Flibrary.%20but%20how%20i%20can%20do%20this%20for%20the%20user's%20OneDrive%20site's%20Files%20library%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20i%20am%20not%20sure%20if%20using%20the%20%22Copy%20To%22%20option%20(to%20copy%20files%20from%20OneDrive%20to%20sharepoint)%20will%20also%20copy%20all%20the%20files%20versions%20or%20not.%20to%20verify%20this%20i%20need%20to%20modify%20the%20user's%20onedrive's%20Files%20library%20view%20to%20show%20the%20version%2C%20so%20is%20this%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-785923%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-787699%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20view%20the%20version%20for%20the%20files%20%26amp%3B%20total%20number%20of%20items%20for%20a%20user's%20OneDrive's%20fil%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-787699%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233354%22%20target%3D%22_blank%22%3E%40john%20john%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Have%20You%20tried%20to%20use%20this%20%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Foffice%2FPowershell-cmdlet-for-f4d6e0ad%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPowerShell%20cmdlet%3C%2FA%3E%3F%3C%2FP%3E%3CP%3E2.%20%22Copy%20to%22%20to%20will%20only%20copy%20the%20latest%20version.%20If%20You%20want%20all%20versions%20You%20will%20have%20to%20use%20%22Move%20to%22.%20See%20more%20about%20that%20here%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fmove-or-copy-files-in-sharepoint-00e2f483-4df3-46be-a861-1f5f0c1a87bc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMove%20or%20copy%20files%20in%20SharePoint%3C%2FA%3E%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22When%20you%20use%20Copy%20to%20with%20documents%20that%20have%20version%20history%2C%20only%20the%20latest%20version%20is%20copied.%20To%20copy%20earlier%20versions%2C%20you%20need%20to%20restore%20and%20copy%20each%20one.%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Super Contributor

We have a user who left the company, and i want to move all his files inside his OneDrive site (private and shared) to a sharepoint document library.

 

Using the Office 365 admin (who can view the user's private files) >> i have selected all the user's OneDrive main folders >> click on "Copy To" >> select the destination sharepoint document library. and the process started.

 

but as part of verifying if everything will be copied correctly, i am not sure how i can view these info inside the user's OneDrive's Files lib:-

 

1. i am unable to view the total number of items inside the user's OneDrive's Files library. i tried to get this info inside the classic and modern UI but without any result. for example inside sharepoint site >> you can click on site content and get the total number of items inside any list/library. but how i can do this for the user's OneDrive site's Files library?

 

2. i am not sure if using the "Copy To" option (to copy files from OneDrive to sharepoint) will also copy all the files versions or not. to verify this i need to modify the user's onedrive's Files library view to show the version, so is this possible?

 

Thanks

1 Reply
Highlighted

@john john 

1. Have You tried to use this PowerShell cmdlet?

2. "Copy to" to will only copy the latest version. If You want all versions You will have to use "Move to". See more about that here: "Move or copy files in SharePoint".

 

"When you use Copy to with documents that have version history, only the latest version is copied. To copy earlier versions, you need to restore and copy each one."