A Microsoft file hosting and synchronization service.
Hi Moatasem Ahmad Mahmood Alhasson,
I understand how frustrating it can be when your OneDrive work account suddenly stops syncing and cannot be added again despite several attempts. Below are some suggestions that may help improve the issue.
1/ Check for Windows updates
Make sure your system is fully up to date by
- Go to Settings > Windows Update
- Click Check for updates
- Install all available updates and restart the PC
2/ Reset OneDrive
Resetting OneDrive can resolve many sync or sign-in issues.
- Press Windows + R
- Run the following command:
- %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset
- After a minute, start OneDrive again and try signing in.
- You can also refer to this guide: Reset OneDrive
3/ Remove cached work account credentials
Corrupted credentials can prevent the account from being added again.
- Open Control Panel
- Go to Credential Manager
- Select Windows Credentials
- Remove entries related to:
- OneDrive
- MicrosoftOffice
- ADAL
- AzureAD
- Then restart the PC and try signing in again.
4/ Clear cached sync files
You can try clearing cached sync files following this Microsoft guide: Clear cached files
5/ Remove the old work account from Windows
Sometimes Windows keeps a cached work account that causes sign-in conflicts.
- Open Settings
- Go to Accounts > Access work or school
- If the account appears, select it and click Disconnect
- Restart the PC
- Before adding the account again in OneDrive, please try to clear the OneDrive sign-in configuration by
- Press Windows + R
- Run: %localappdata%\Microsoft\OneDrive\settings
- Delete the file: PreSignInSettingsConfig.json
7/ Repair Microsoft Office
If OneDrive is integrated with Office apps, repairing Office may help.
Follow this guide: Repair an Office application
I hope the information above is helpful. If you have any further questions, please feel free to reach out.
If this response resolves your issue, please click Accept Answer and consider upvoting it. If you have additional questions, kindly click Comment.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.