A Microsoft file hosting and synchronization service.
Hello, thank you for reaching out to Microsoft Q&A.
Unlink your old account from the OneDrive app if it is linked.
- Right-click the OneDrive icon on the taskbar, then select Settings.
- In the Accounts tab, select 'Unlink this PC'.
Then, delete the sign-in credentials -
Click Windows + R key, type
%localappdata%\Microsoft\OneDrive\settings
and click Ok.
- Delete the PreSignInSettingsConfig.json file.
- Launch OneDrive and sign in to your account again.
If you are still experiencing issues, uninstall and reinstall OneDrive.
https://support.microsoft.com/en-US/onedrive/turn-off-disable-or-uninstall-onedrive
You can uninstall OneDrive from the Installed apps section.
Once uninstalled, download and install the latest version of the OneDrive dekstop app from the official Microsoft website here -
https://www.microsoft.com/en-us/microsoft-365/onedrive/download
Let me know if you still need more help.