How to exclude folder using SharePoint MIgration tool during migration

%3CLINGO-SUB%20id%3D%22lingo-sub-262514%22%20slang%3D%22en-US%22%3EHow%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262514%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20way%20to%20exclude%20folder%20while%20ODB%20migration%20using%20SharePoint%20Migration%20tool%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20exclude%20desktop%2FFavorite%20folder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20in%20SharePoint%20Migration%20tool%2C%20but%20did%20not%20found%20any%20option%20to%20exclude%20specific%20folder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAvian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-262514%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262562%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262562%22%20slang%3D%22en-US%22%3EOk%2C%20then%20the%20only%20way%20I%20see%20to%20achieve%20this%20is%20by%20means%20of%20doing%20the%20migration%20using%20the%20CSV%20file%20option%20where%20you%20can%20specify%20the%20source%20path%20and%20the%20destination%20SPO%20Document%20Library%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fhow-to-format-your-csv-file-for-data-content-migration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fhow-to-format-your-csv-file-for-data-content-migration%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262559%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262559%22%20slang%3D%22en-US%22%3E%3CP%3EI%20already%20tried%20these%20cmdlet%20but%20there%20is%20no%20option%20to%20exclude%20the%20folders.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262532%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262532%22%20slang%3D%22en-US%22%3EI%20think%20if%20you%20need%20to%20do%20this%2C%20you%20will%20have%20to%20look%20at%20doing%20the%20migration%20with%20the%20PowerShell%20cmdlets%20that%20are%20included%20as%20part%20of%20the%20SPO%20migration%20tool%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1124219%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1124219%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BI%20had%20a%20similar%20questions%20regarding%20the%20migration%20of%20a%20file%20share%20to%20ODB%2C%20but%20within%20the%20.csv%20file%20there%20is%20no%20option%20to%20exclude%20specific%20folders%20while%20using%20the%20SP%20Migration%20Tool.%20The%20option%20to%20specify%20the%20folder%20you%20want%20to%20migratie%20is%20for%20Sharepoint%20Library%20purposes%20only%20and%20not%20for%20a%20fileshare%20to%20ODB%20migration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1126121%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20folder%20using%20SharePoint%20MIgration%20tool%20during%20migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1126121%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403042%22%20target%3D%22_blank%22%3E%40rzeegers%3C%2FA%3E%26nbsp%3BIf%20you%20need%20the%20capability%20to%20exclude%20folders%20from%20the%20file%20server%20when%20migrating%20to%20OneDrive%20for%20Business%20check%20out%20the%20file%20migration%20tool%20%3CA%20href%3D%22http%3A%2F%2Fwww.thinkscape.com%2FSharePoint-Online-File-Migration-Tool%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFiles%20To%20Go%3C%2FA%3E.%20It%20has%20support%20for%20excluding%20paths%20from%20the%20local%20file%20server.%20See%20the%20ExcludePaths%20column%20in%20the%20image%20below%20of%20a%20sample%20CSV%20import%20file.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20622px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166932i99E63A4F86530A10%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22CsvFile%22%20title%3D%22CsvFile%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Is there any way to exclude folder while ODB migration using SharePoint Migration tool?

 

I want to exclude desktop/Favorite folder.

 

I checked in SharePoint Migration tool, but did not found any option to exclude specific folder.

 

Is this possible?

 

Avian

5 Replies
Highlighted
I think if you need to do this, you will have to look at doing the migration with the PowerShell cmdlets that are included as part of the SPO migration tool
Highlighted

I already tried these cmdlet but there is no option to exclude the folders.

Highlighted
Ok, then the only way I see to achieve this is by means of doing the migration using the CSV file option where you can specify the source path and the destination SPO Document Library: https://docs.microsoft.com/en-us/sharepointmigration/how-to-format-your-csv-file-for-data-content-mi...
Highlighted

@Juan Carlos González Martín I had a similar questions regarding the migration of a file share to ODB, but within the .csv file there is no option to exclude specific folders while using the SP Migration Tool. The option to specify the folder you want to migratie is for Sharepoint Library purposes only and not for a fileshare to ODB migration.

@rzeegers If you need the capability to exclude folders from the file server when migrating to OneDrive for Business check out the file migration tool Files To Go. It has support for excluding paths from the local file server. See the ExcludePaths column in the image below of a sample CSV import file.

CsvFile