logo
search
OneDrive File Issues

How to Fix OneDrive Invalid Character Errors When Creating Folders

WPS EditorWPS Editor Oct 12, 2026 868 views

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.

How to Fix OneDrive Invalid Character Errors When Creating Folders
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.
Before you start

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.

Solution 1

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.

1
Open a Private Browser Window

Launch your preferred web browser and open an InPrivate (Edge) or Incognito (Chrome) window to prevent cache conflicts.

2
Log in to OneDrive Online

Navigate to the OneDrive website and sign in with your Microsoft account credentials.

3
Create the Folder

Click 'New' > 'Folder' and try naming it with the period or character that previously failed. If it succeeds here, the issue is strictly local.

Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and click the download button for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to complete the quick setup process.
  3. 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.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formatsFree, lightweight suite that uses minimal system resourcesBuilt-in WPS Cloud support for hassle-free file syncing and backupsFamiliar user interface ensuring a smooth migration with zero learning curve
microsoft office alternative - wps office

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.