Why Our Files Won't Synchronise To SharePoint After The Server Move
Summary
This guide helps you troubleshoot and resolve: Why Our Files Won't Synchronise To SharePoint After The Server Move. Follow the steps below to fix the issue.
Common Causes
Following a migration from an on-premises file server to SharePoint Online, users may encounter persistent synchronisation errors when attempting to sync shared folders using the OneDrive sync client. These errors typically occur when migrated folder names contain characters that SharePoint does not permit, or when the total file path length exceeds the maximum limit after the directory structure was flattened during the migration process.
Quick Fix Steps
- Identify the folder displaying the red "X" or sync error icon in File Explorer.
- Check the folder name for blocked characters such as
",*,:,<,>,?,/,\, or|. - Rename the folder in SharePoint Online to remove blocked characters.
- Restart the OneDrive sync client to resume synchronisation.
Detailed Instructions
Step 1: Identify the Error in OneDrive
- Click the OneDrive cloud icon in the Windows system tray (bottom-right corner of the taskbar).
- Select Help & Settings, then click Settings.
- Navigate to the Account tab and review the list of folders for any marked with an error status.
- Note the full path of the folder failing to sync.
Step 2: Check for Blocked Characters
SharePoint Online does not allow certain characters in file and folder names. If a migrated folder contains any of the following, synchronisation will fail:
"(quotation mark)*(asterisk):(colon)<(less than)>(greater than)?(question mark)/(forward slash)\(back slash)|(pipe)
Step 3: Rename the Folder in SharePoint Online
- Open a web browser and navigate to your SharePoint site.
- Go to the document library containing the affected folder.
- Right-click the folder and select Rename.
- Remove any blocked characters and replace them with a hyphen or underscore.
- Press Enter to save the change.
Step 4: Restart the OneDrive Sync Client
- Right-click the OneDrive cloud icon in the system tray.
- Select Quit OneDrive.
- Reopen OneDrive from the Start menu.
- Allow the client to scan for changes and resume synchronisation.
Troubleshooting Path Length Issues
If folder names are correct but synchronisation still fails, the issue may be caused by the total path length exceeding SharePoint limits. This often happens when a deep directory structure is flattened during migration.
Check the Full Path Length
- Open File Explorer and navigate to the synced SharePoint folder.
- Click in the address bar at the top of the window.
- Press
Ctrl+Cto copy the full path. - Paste the path into a text editor such as Notepad.
- Count the total characters. SharePoint recommends keeping the full path under 400 characters where possible.
Reduce Path Length
- Move files to a higher-level folder in the document library to shorten the path.
- Rename parent folders to shorter, concise names.
- Avoid deeply nested subfolders; consider using metadata columns instead of folder hierarchy.
- After making changes, restart the OneDrive sync client as described above.
Still Having Issues?
💻 Open a Ticket