How to Fix OneDrive Invalid Character Errors When Creating Folders
Question details
The user is unable to create a folder in OneDrive because the system flags certain characters, such as a period, as invalid, even though they are permitted on traditional shared drives.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Creating new folders in OneDrive that include periods or other specific characters.
- Observed behavior
- OneDrive refuses to create the folder and displays an invalid character error, blocking the folder creation process.
Ensure your OneDrive application is updated to the latest version and verify whether this naming error happens in the local sync folder, the OneDrive web interface, or both.
Test Folder Creation in OneDrive Online
Determine if the issue is limited to your local machine by attempting to create the folder directly in the web version of OneDrive using a private browsing window.
Periods are generally permitted in OneDrive for Business and SharePoint Online file names. Testing online helps isolate whether the error is tied to your local sync client or a broader account restriction.
Launch your preferred web browser and open an InPrivate (Edge) or Incognito (Chrome) window to prevent cache conflicts.
Navigate to the OneDrive website and sign in with your Microsoft account credentials.
Click 'New' > 'Folder' and try naming it with the period or character that previously failed. If it succeeds here, the issue is strictly local.
Reset the OneDrive Sync Client
If the folder creation fails only on your local computer, resetting the OneDrive sync client can resolve temporary glitches and synchronization conflicts.
Contact Your IT Administrator
If the invalid character error persists both locally and in the web version, it may require a backend check by an administrator.
Use WPS Office for Reliable Document Management
While troubleshooting your OneDrive synchronization issues, consider trying WPS Office. It is a highly compatible, free, and lightweight alternative to Microsoft Office that easily handles document creation, editing, and file management across multiple cloud platforms.
- 1. Download the Installer: Visit the official WPS Office website and click the download button for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to complete the quick setup process.
- 3. Open and Edit Files: Launch WPS Office, easily open your existing documents, and save them seamlessly to either local storage or your preferred cloud service.

Frequently Asked Questions
Which characters are strictly restricted in OneDrive?
Certain characters are universally not allowed in OneDrive file and folder names, including <, >, :, ", |, ?, *, /, and \. If you use any of these, OneDrive will always return an invalid character error.
Are periods allowed in OneDrive for Business folder names?
Yes, periods are generally permitted in OneDrive for Business and SharePoint Online names. If you encounter an error when using a period, it typically indicates a local sync client glitch or a browser caching issue.
Why does my local folder reject names that work online?
Local operating systems like Windows have their own strict file naming restrictions that can sometimes conflict with cloud storage rules. Additionally, a corrupted cache in your local OneDrive sync app can temporarily falsely flag valid characters.





