This article describes the limitations that apply to SharePoint Online and OneDrive for Business, which you might need to account for if you plan to migrate to one of those services.
Sections in this article:
- File size limitation
- File path limitation
- File and folder name extension limitation
- Files created inside shared folders limitation
- Multiple files with the same name 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 advanced option as described in the How do I auto shrink the folder path when migrating to OneDrive for Business or SharePoint Online? article.
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.
- This may be changed at any time by Microsoft.
- This list cannot be changed by an administrator in SharePoint Online and OneDrive for Business.
- 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
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.
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.
For more information: Read the Restrictions and limitations when you sync files and folders article from Microsoft.