A Microsoft file hosting and synchronization service.
This usually means old work or school accounts are still cached on the device, so Windows, Office, or OneDrive keeps trying to use them even though access is gone.
Try this in order:
- Disconnect old accounts from Windows
- Go to Settings > Accounts > Access work or school.
- Look for the old email accounts.
- If Disconnect is available, select it for each old account.
- If only Manage appears, continue with the next steps.
- Clear saved credentials
- Open Control Panel > User Accounts > Credential Manager.
- Select Windows Credentials.
- Remove entries related to the old accounts, especially anything mentioning Microsoft 365, Office, Teams, or old business email addresses.
- This removes old authentication tokens that can keep triggering sign-in and sync attempts.
- Remove old connected services from Office
- Open Word or Excel.
- Go to File > Account.
- Under Connected Services, remove or disconnect the old accounts if they appear.
- If an old account is shown as primary, sign out of all accounts in Office, then sign back in with only the current account.
- Reset OneDrive account connection
- Select the OneDrive icon in the notification area.
- Go to Settings > Account.
- Select Unlink this PC.
- Start OneDrive again and sign in with the current account.
- If prompted for the OneDrive folder location, using the same location can merge folders from both accounts.
- Remove old accounts from the browser sign-in picker
- Go to
login.microsoftonline.com. - When the account list appears, use the menu next to the old account and select Forget or Forget this account.
- Go to
- If the red X remains in File Explorer
- The local OneDrive app may still be stuck on the old account connection.
- Use Unlink this PC again, then sign in only with the current account.
If the old accounts are personal Microsoft accounts with the same email address as a work or school account, the sign-in prompt can also happen because both account types exist for the same address. In that case, one supported fix is to rename the personal Microsoft account alias or contact the organization tied to the work or school account.
For OneDrive technical issues that continue after these steps, personal account support is available through Contact Microsoft Support. For work or school accounts, the organization’s IT helpdesk or admin must assist.
References:
- Which account do you want to use?
- How to remove an account in OneDrive
- OneDrive desktop app for earlier versions of Windows
- How do I delete user logins for websites I no longer own, where I had MS work/business accounts but have closed them down and now only have a family subscription? - Microsoft Q&A
- How do I remove a microsoft account that I no longer have access to? - Microsoft Q&A