University of Southampton


Invalid file names and file types in OneDrive and SharePoint

There are various restrictions and limitations that apply to file names and file types when syncing with OneDrive for Business or SharePoint in Microsoft 365.

Microsoft publishes a full up-to-date list of restrictions here.

Invalid characters

Certain characters have special meanings when used in file names in OneDrive, SharePoint, Windows and macOS, such as "*" for wildcards, and "\" in file name paths. If a file or folder you are trying to upload to OneDrive contains any of the characters listed below, it may prevent files and folders from syncing. Rename the file or folder to remove these characters before you upload it.

" * : < > ? / \ |     (Leading and trailing spaces in file or folder names are also not allowed.)

Invalid file or folder names

These names are not allowed for files or folders: .lockCONPRNAUXNULCOM0 - COM9LPT0 - LPT9_vti_desktop.ini, any filename starting with ~$.

Was this article helpful?

If you have any further comments, please put them below.

Please note that feedback is anonymous - if you require a reply or assistance, please raise a ticket via ServiceLine.

Thank you for your feedback, it is much appreciated.

Tweet This Article

Back to List

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.