SharePoint Migration Tool - multiple subfolders

%3CLINGO-SUB%20id%3D%22lingo-sub-810590%22%20slang%3D%22en-US%22%3ESharePoint%20Migration%20Tool%20-%20multiple%20subfolders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-810590%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20the%20SharePoint%20Migration%20Tool%20with%20a%20formatted%20csv%20file%20to%20migrate%20from%20a%20file%20share%20into%20a%26nbsp%3B%20SharePoint%20document%20library.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20file%20share%20folder%20structure%20is%20in%20a%20simple%20'client%5Cmatter'%20format.%26nbsp%3B%20This%20would%20normally%20be%20a%20simple%20migration%20task%2C%20however%20I%20only%20want%20to%20migrate%20certain%20matters%20for%20each%20client%20(i.e.%20closed%20matters).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBecause%20the%20formatted%20CSV%20file%20only%20allows%20you%20to%20specify%20one%20subfolder%20level%2C%20I%20can't%20see%20a%20way%20for%20the%20matters%20to%20retain%20their%20folder%20structure.%26nbsp%3B%20For%20example%2C%20if%20I%20specify%20the%20'client_a%5Cmatter_2'%20folder%20to%20be%20migrated%20to%20a%20SharePoint%20document%20library%20called%20'client'%20under%20a%20subfolder%20called%20'client_a'%2C%20then%20all%20of%20the%20'matter_2'%20files%20are%20copied%20to%20the%20root%20of%20the%20'client_a'%20folder%2C%20rather%20than%20into%20a%20'matter_2'%20subfolder.%26nbsp%3B%20I%20need%20each%20matter%20to%20have%20its%20own%20subfolder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20driving%20me%20crazy%20as%20it%20seems%20like%20it%20should%20be%20a%20simple%20task%2C%20so%20any%20help%20appreciated!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-810590%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1307816%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Migration%20Tool%20-%20multiple%20subfolders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1307816%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394467%22%20target%3D%22_blank%22%3E%40Danbert%3C%2FA%3E%26nbsp%3B%20i'm%20amazed%20there%20is%20no%20traction%20on%20this%20post.%26nbsp%3B%20i%20have%20what%20i%20think%20is%20the%20same%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESPMT%203.2.115.4%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EonpremSP2013server%2Fsites%2Flibrary%2Ffolder%2Fsubfolder%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20want%20to%20migrate%20%3CSTRONG%3Esubfolder%3C%2FSTRONG%3E%20and%20it's%20contents%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhat's%20the%20syntax%20for%20the%20migrate%20by%20csv%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EColumn%20C%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EEnter%20the%20name%20of%20the%20%3CSTRONG%3Esubfolder%3C%2FSTRONG%3E%20in%20the%20document%20library.%20If%20this%20column%20is%20left%20empty%2C%20the%20migration%20starts%20from%20the%20root.%20If%20there%20is%20a%20value%20in%20this%20column%2C%20the%20migrations%20starts%20from%20the%20subfolder%20and%20down.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EOptional%3C%2FEM%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fmm-bulk-upload-format-csv-json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fmm-bulk-upload-format-csv-json%3C%2FA%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20is%20unclear.%26nbsp%3B%20It%20states%20subfolder%2C%20not%20folder.%26nbsp%3B%20to%20me%20this%20is%20technically%20different.%20but%20it%20won't%20find%20the%20subfolder.%26nbsp%3B%20an%20error%20is%20thrown.%26nbsp%3B%20then%20when%20i%20try%20at%20the%20root%20'folder'%20just%20to%20test%2C%20it%20sits%20at%200%25%20for%20the%20progress.%26nbsp%3B%20HELP!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22csv%20for%20migrate.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F184418i3C9DAE83FB3E9CE4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22csv%20for%20migrate.PNG%22%20alt%3D%22csv%20for%20migrate.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1547966%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Migration%20Tool%20-%20multiple%20subfolders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1547966%22%20slang%3D%22en-US%22%3E%3CP%3EDon't%20know%20if%20it%20helps%20but%20I%20successfully%20migrated%20documents%20from%20subfolder%20(i.e.%20%3CEM%3Efolder%3C%2FEM%3E%2F%3CEM%3Esubfolder%3C%2FEM%3E)%20level%20to%20the%20folder%20level%20in%20SPO.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20syntax%20for%20the%20source%20subfolder%20-%203rd%20column%20in%20CSV%20-%20was%3A%20%3CEM%3Efoldername%2Fsubfoldername%3C%2FEM%3E.%20The%20destination%20in%20my%20case%20was%20the%20folder%20name%20-%206th%20column%20in%20CSV%3A%20%3CEM%3Efoldername%3C%2FEM%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20did%20not%20work%20at%20first%20but%20that%20had%20other%20reasons.%20SPMT%20was%20not%20able%20to%20create%20the%20destination%20structure%20of%20content%20types%20and%20fields.%20I%20found%20errors%20in%20the%20migration%20log.%20So%20it%20might%20be%20worth%20checking%20the%20log%20file.%20The%20solution%20for%20me%20was%20to%20create%20the%20destination%20structure%20using%20PnP%20provisioning%20so%20that%20SPMT%20didn't%20have%20to%20do%20this%20job%20anymore.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1550079%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Migration%20Tool%20-%20multiple%20subfolders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1550079%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478036%22%20target%3D%22_blank%22%3E%40heinrich-ulbricht%3C%2FA%3E%26nbsp%3B%20-%20thanks%20for%20the%20follow%20up!%26nbsp%3B%20I%20was%20able%20to%20figure%20it%20out%20but%20failed%20to%20follow%20up%20in%20this%20thread!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I am using the SharePoint Migration Tool with a formatted csv file to migrate from a file share into a  SharePoint document library. 

 

The file share folder structure is in a simple 'client\matter' format.  This would normally be a simple migration task, however I only want to migrate certain matters for each client (i.e. closed matters).

 

Because the formatted CSV file only allows you to specify one subfolder level, I can't see a way for the matters to retain their folder structure.  For example, if I specify the 'client_a\matter_2' folder to be migrated to a SharePoint document library called 'client' under a subfolder called 'client_a', then all of the 'matter_2' files are copied to the root of the 'client_a' folder, rather than into a 'matter_2' subfolder.  I need each matter to have its own subfolder.

 

This is driving me crazy as it seems like it should be a simple task, so any help appreciated!

3 Replies
Highlighted

@Danbert  i'm amazed there is no traction on this post.  i have what i think is the same issue:

 

SPMT 3.2.115.4

 

onpremSP2013server/sites/library/folder/subfolder

 

i want to migrate subfolder and it's contents

 

what's the syntax for the migrate by csv?

 

  • Column C: Enter the name of the subfolder in the document library. If this column is left empty, the migration starts from the root. If there is a value in this column, the migrations starts from the subfolder and down. Optional

https://docs.microsoft.com/en-us/sharepointmigration/mm-bulk-upload-format-csv-json

 

this is unclear.  It states subfolder, not folder.  to me this is technically different. but it won't find the subfolder.  an error is thrown.  then when i try at the root 'folder' just to test, it sits at 0% for the progress.  HELP!

 

csv for migrate.PNG

 

 

Highlighted

Don't know if it helps but I successfully migrated documents from subfolder (i.e. folder/subfolder) level to the folder level in SPO.

 

The syntax for the source subfolder - 3rd column in CSV - was: foldername/subfoldername. The destination in my case was the folder name - 6th column in CSV: foldername.

 

It did not work at first but that had other reasons. SPMT was not able to create the destination structure of content types and fields. I found errors in the migration log. So it might be worth checking the log file. The solution for me was to create the destination structure using PnP provisioning so that SPMT didn't have to do this job anymore.

Highlighted

@heinrich-ulbricht  - thanks for the follow up!  I was able to figure it out but failed to follow up in this thread!