I can't sign in to One Drive on my PC

Matt 0 Reputation points
2026-11-11T13:16:07.3433333+00:00

I was using it well, but suddenly I can't log in

I searched and referenced the answer to the question, deleted the credentials, reset, deleted the app, and reinstalled it, but it was still the same.

It works online or on other devices without any issues, and I only had problems with my work PC.

Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-11T13:16:25.2333333+00:00

    Since OneDrive works online and on other devices, the account itself is likely fine and the problem is isolated to the local sign-in state on that work PC.

    Try these steps in this order:

    1. Verify the correct account type is being used
      • If this is a work or school OneDrive, sign in with the work/school Entra ID account, not a personal Microsoft account.
      • If the sign-in page shows errors such as "Selected user account does not exist in tenant 'Microsoft Services'" or access to onedrive.cloud.microsoft fails, that usually means the wrong account type is being used.
    2. Check whether network filtering on the PC is blocking sign-in
      • Since web access works elsewhere, the work PC may be affected by firewall, VPN, or ISP/network filtering.
      • Temporarily disconnect VPN if one is enabled.
      • If possible, test sign-in from a different network such as a mobile hotspot. If sign-in works there, the issue is likely network filtering.
    3. Clear cached identity data that can survive reinstall
      • Sign out of OneDrive.
      • Delete all folders in:
        • %localappdata%/Microsoft/OneAuth
        • %localappdata%/Microsoft/IdentityCache
      • Then start OneDrive and try signing in again.
    4. Remove cached Office identities from the registry
      • This is specifically recommended for authentication issues caused by multiple cached identities.
      • Warning: Incorrect registry changes can cause serious problems. Back up the registry first.
      • Open Registry Editor.
      • Delete this key:
        • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
      • If Shared Computer Activation is enabled, also remove:
        • HKEY_USERS\<user_SID>\SOFTWARE\Microsoft\Office\16.0\Common\Identity
      • To get the current user SID, run:
        • whoami /user
    5. If the PC has had old or different OneDrive accounts connected, unlink and relink OneDrive
      • If an old account was previously added, unlink the PC from that account and relink using the correct work account.
    6. If sign-in still fails, do a full local cleanup and reinstall
      • Uninstall OneDrive from Settings > Apps > Installed apps or Add or remove programs.
      • Reinstall the latest OneDrive app.
      • Reopen it and complete sign-in again.
      • Microsoft notes that uninstalling and reinstalling OneDrive does not remove files or data.
    7. If the issue is only on the work PC after all local cleanup
      • Contact the organization’s IT helpdesk or admin, especially if the correct work account is being used and the problem persists only on that managed device.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Jean Gahunga 0 Reputation points Independent Advisor
    2026-11-11T13:39:52.8333333+00:00

    Hi Matt,

    Hope that the following steps are going to fix the issue of not signing in OneDrive.

    1. Repair the Windows Authentication Broker (WAM)

    OneDrive on Windows relies on a built-in system app called the Web Account Manager (WAM) to handle Microsoft 365 sign-ins. When its cache corrupts, OneDrive throws blank screens or login loops that reinstalling the app cannot fix.

    • Disconnect your work account temporarily. Open Windows Settings > Accounts > Access work or school. Select your work account and click Disconnect (skip this if your PC is fully domain-joined and the button is grayed out).
    • Clear the IdentityCRL and WAM token caches. Press Win + R, type %localappdata%\Packages, and press Enter. Open the folder named Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy, go to AC\TokenBroker\Accounts, and delete all files inside.
    • Re-register the BrokerPlugin via PowerShell. Right-click the Start button, select Terminal (Admin) or Windows PowerShell (Admin), paste the command below, and press Enter: Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
    • Restart your PC and try signing into OneDrive again.

     

     

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.