Forum Discussion
maglu
Jan 07, 2024Brass Contributor
OneDrive stuck on "signing in"
Hi, I'm trying to use Onedrive and Onenote, but it seems to be really terrible 50% of the time. Sometimes when I log on my pc, it says I have to log in, and in doing so, is stuck on a "signing in...
Ress
May 29, 2024Copper Contributor
Had a similar issue for 10 days with multiple users, the below steps did help:
- Azure AD non-interactive sign in logs showed the application "OneDrive SyncEngine" failures with error code 50020 and the resource tenant ID in the details was pointing to our previous tenant before the T2T migration.
Performed the below steps:
- Removed all the WPJ accounts from "Access Work or School accounts".
- Removed the registry key HKCU:\Software\Microsoft\Office\16.0\Common\Identity
- Removed
"C:\users\%username%\Appdata\local\microsoft\onedrive\settings\PreSignInSettingsConfig.json"
- Removed "C:\users\%username%\Appdata\local\Microsoft\OneAuth" and "C:\users\%username%\Appdata\local\microsoft\IdentityCache"
- Removed all OneDrive and Microsoft related credentials from credential storage.
"rundll32.exe keymgr.dll,KRShowKeyMgr"
- %localappdata%\Microsoft\OneDrive\onedrive.exe /reset (This failed hence unlinked OneDrive from the device and re-added)
- Azure AD non-interactive sign in logs showed the application "OneDrive SyncEngine" failures with error code 50020 and the resource tenant ID in the details was pointing to our previous tenant before the T2T migration.
Performed the below steps:
- Removed all the WPJ accounts from "Access Work or School accounts".
- Removed the registry key HKCU:\Software\Microsoft\Office\16.0\Common\Identity
- Removed
"C:\users\%username%\Appdata\local\microsoft\onedrive\settings\PreSignInSettingsConfig.json"
- Removed "C:\users\%username%\Appdata\local\Microsoft\OneAuth" and "C:\users\%username%\Appdata\local\microsoft\IdentityCache"
- Removed all OneDrive and Microsoft related credentials from credential storage.
"rundll32.exe keymgr.dll,KRShowKeyMgr"
- %localappdata%\Microsoft\OneDrive\onedrive.exe /reset (This failed hence unlinked OneDrive from the device and re-added)
- tsmith35Mar 29, 2025Copper Contributor
Well, it's a year later, but this worked great for me! Thanks for taking the time to share!