Fix OneDrive Sharing Violations and Corrupted Files in File Explorer
Question details
The user needs to resolve OneDrive sign-in prompts and file errors when saving or editing files in a synced folder.

- Product
- Microsoft OneDrive
- Device & OS
- Windows; version not provided
- Scenario
- Saving or editing files in a OneDrive folder through File Explorer.
- Observed behavior
- OneDrive repeatedly requests sign-in, reports sharing violations, renames some files with random numbers, or reports files as corrupted. Browser uploads still work.
Check whether the affected files open in OneDrive on the web and compare them with the local copies. Close apps that may have the files open, and check the OneDrive cloud icon for sync errors.
Check OneDrive service status and account sign-in
Use this first when repeated sign-in prompts or a school account outage may be interrupting sync.
Check the Microsoft 365 service health page at status.cloud.microsoft or ask your school or organization's IT team whether OneDrive has an active outage.
Select the OneDrive cloud icon in the Windows notification area and open any sign-in or sync error message. Follow the prompt to sign in with the account used for the affected folder.
Once any reported outage is resolved, open the OneDrive folder in File Explorer and try saving a new test file. Check the OneDrive cloud icon to confirm that it syncs.

Resolve file conflicts and restore an undamaged version
Use this when a specific file has a sharing violation, a renamed copy, or a corruption warning.
Reinstall the OneDrive sync app
Use this if service and file-specific checks do not resolve recurring desktop sync errors.
Edit Office files with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility can make moving everyday files from Microsoft Office straightforward, although it does not fix OneDrive sync errors.

Frequently Asked Questions
Why does OneDrive keep asking me to sign in?
A sign-in issue or service outage may be interrupting the sync app. Select the OneDrive cloud icon in the Windows notification area, follow any sign-in prompt, and check with your organization's IT team for known outages.
Why did OneDrive rename my file?
A renamed copy can result from a sync conflict. Compare the local copies in File Explorer with the file in OneDrive on the web before deciding which version to keep.
How can I recover a file that OneDrive reports as corrupted?
In OneDrive on the web, select the file and open Version history. If an intact earlier version is available, open or restore it rather than overwriting it with the corrupted copy.
Will reinstalling OneDrive delete my online files?
Uninstalling the sync app does not delete files stored in OneDrive online. After reinstalling, sign in to the same account and complete setup to sync your files again.
Does WPS Office fix OneDrive sharing violations?
No. WPS Office can edit compatible files, but OneDrive sharing violations and sync errors must be addressed through OneDrive, Windows, or your organization's support team.




