File path limitation
SharePoint Online and OneDrive for Business have a 400 character limit that applies to file paths and file names. See What would I use the Advanced Option IncreasePathLengthLimit=1 for? for more information. Character limits might not be enforced in other document storage services, like Google Drive or Dropbox. When migrating from one of those platforms to SharePoint Online or OneDrive for Business, you might need to shrink file paths and file names. Use the "ShrinkFoldersMaxLength=200" advanced option as described in the How do I auto shrink the folder path when migrating to OneDrive for Business or SharePoint Online? article.
File and folder name extension limitation
There is a list of file extensions that are not allowed to be created inside of SharePoint Online and OneDrive for Business.
Read the following articles for more information:
- Types of files that cannot be added to a list or library
- Information about the characters that you cannot use in site names, folder names, and file names in SharePoint
- Contributors are not permitted to upload SWF files onto SharePoint 2010
- The list currently contains: .ashx, .asmx, .json, .soap, .svc and .xamlx as blocked by default when working with SharePoint server. There are currently no file type limitations for SharePoint online.
- This may be changed at any time by Microsoft.
- Additionally, an administrator may add other extensions to this list.
In addition, folder names may not end with any of the following strings: .files, _files, -Dateien, _fichiers, _bestanden, _file, _archivos, -filer, _tiedostot, _pliki, _soubory, _elemei, _ficheiros, _arquivos, _dosyalar, _datoteke, _fitxers, _failid, _fails, _bylos, _fajlovi, _fitxategiak
File created inside shared folders limitation
If you plan to migrate from Google Drive, there may be a scenario where a user creates a folder and shares it with another user. The other user then creates a file within that shared folder. Use the "moderate migration mode" to migrate those files, as described in the How does Google Drive to Microsoft OneDrive with Moderate Mode work? article.
Multiple files with the same name limitation
Some environments, such as Google Drive, allow the user to create multiple files of the same name in the same folder. This is not supported by OneDrive for Business. Use the RenameConflictingFiles=1 advanced option as described in the How do I migrate multiple files with the same name into OneDrive? article.