The following characters aren't allowed in file and folder names for OneDrive for work or school on Microsoft 365, and SharePoint in Microsoft 365:
" * : < > ? / \ |
If you attempt to upload files or folders to OneDrive with names containing these characters, you may notice that OneDrive is unable to finish synchronizing your data to the cloud. This article explains one way to fix this problem on school-issued macOS endpoints, and is particularly useful if you have a large number of sync errors to fix.
If you have a large number of sync errors, please follow the steps below to attempt to fix the errors with a CIT-provided solution
Open the CIT Self Service application from your Applications folder
Under Browse, click Settings, then the OneDrive icon titled Fix OneDrive file names
Click Fix to begin the automated process of correcting invalid file and folder names
Once the policy finishes, you'll be notified that file name correction has finished, and given a folder name which contains a backup of your OneDrive directory taken before file name correction began
If OneDrive did not restart automatically, re-open OneDrive from your Applications folder
Click the OneDrive cloud icon (
) again; you will hopefully no longer see any sync errors
Optional: Remove backup directory
The Fix OneDrive file names self-service policy will create a backup of your OneDrive directory (FF-Backup-XXXXXX-XXXX, containing the date and time of the backup creation) before attempting to re-name files. In most cases, these backup directories are dataless clone files and do not actually use extra disk space. If, however, you'd like to remove this directory, follow the steps below.
Open a Finder window, click the Go menu at the top of your screen (to the left of the OneDrive cloud icon), and click Go To Folder. Type in "~/" (without the quotes) and press Return; this will take you to your user folder where the backup is stored
Right-click on the FF-Backup directory and click Move to Trash
You may notice a Log in link in the bottom left-hand corner of the CIT Self Service application. It is not necessary to log in to CIT Self Service to run the Fix OneDrive file names policy.