Invalid characters in file or folder names, or invalid file types in OneDrive for Business

Invalid file or folder name characters

If a file or folder you’re trying to upload to OneDrive for Business contains any of the characters listed below, rename the file or folder to remove these characters. The list of invalid characters is different on Office 365 and SharePoint 2013.

Invalid file or folder name characters in OneDrive for Business on Office 365

Invalid file or folder name characters in OneDrive for Business on SharePoint 2013

" # % * : < > ? / \ |

~ " # % & * : < > ? / \ { | }.

Invalid or blocked file types

You can't upload OneNote files, or files with a *.tmp or *.ds_store extension. Additionally, you can't upload desktop.ini, thumbs.db, or ehthumbs.db.

Additionally, you can't upload types of files that are blocked on the SharePoint site. If your organization is running SharePoint Server, the list of blocked files may vary depending on what your administrator sets up. If your organization is running SharePoint Online, the default list of blocked files is fixed and can't be changed. To see a list of the default blocked files, see Types of files that cannot be added to a list or library.

For more information about restrictions and limitations, like size limits for syncing files, and character limits for files and folders, see Restrictions and limitations when you sync SharePoint libraries to your computer through OneDrive for Business.

Applies To: SharePoint Online, SharePoint Online Website, SharePoint Server 2013 Enterprise, OneDrive for Business, SharePoint Server 2013 Preview



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language