Forum Discussion
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" loop, until it says some error code about me not having an internet connection.
Here's what I've tried:
1. Close and open Onedrive
2. Removing auth from the pc and adding it again
3. Reinstalling Onedrive
4. Change Wi-Fi
5. Do a /reset in Windows run AND cmd
6. Update drivers
7. Install the newest Onedrive from the website
8. Try the app-version found in Windows Store
What am I supposed to do? I don't want to restart my pc every time it doesn't work, that's a terrible fix.
- LeonPavesicSilver Contributor
Hi maglu,
here are some additional steps that might help:
Clear OneDrive cached credentials:
Navigate to Control Panel > User Accounts > Credential Manager > Windows Credentials.
Check for any "OneDrive" credentials and remove them.Unlink your account:
Right-click the OneDrive icon, go to Settings > Account, select "Unlink this PC," and then "Unlink this account". Afterward, sign in again to check if the issue persists.Reset OneDrive:
Press Win + R, type %localappdata%\\Microsoft\\OneDrive\\onedrive.exe /reset, and press Enter. This will restart OneDrive and clear the cache. Try signing in again.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)- magluCopper ContributorHi Leon
1. I've already tried 3 times to remove Onedrive credentials
2. I can't unlink it, because there's isn't an account linked to it; I can't log-in!
3. I've already tried resetting it multiple times, even using CMD to do it,
- KaranS17Copper ContributorSame problem here since one week. no solution. tried everything. No update..... nothing. really frustrating 😤
- guilhermenunes09Copper ContributorMine did not work when installed via Microsoft Store, but it worked when downloaded via Website: https://www.microsoft.com/en-us/microsoft-365/onedrive/download
- surmountianCopper Contributor
Installing from the website https://www.microsoft.com/en-us/microsoft-365/onedrive/download solved my problem.
- PerlopCopper Contributor
Same, installing from the website solved my problem
- RessCopper ContributorHad 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) - zzol_johnsonCopper ContributorThe same issue here and I guess this is also related to University Office 365 account. Hope MS can have a solution for this and STOP asking the business user keep changing the password.
- TheGamingNorwegianCopper ContributorIm having the exact same issue with only one of my accounts, all other accounts work. Ive figured out that it does work to sign into Microsoft and force sign off all accounts, but that takes hours to finalize and its not a solution as the next time you sign in it works, but as soon as you turn off your computer again OneDrive has magically signed off and refuse to sign again and is stuck on the "please wait" or "signing in". This is clearly a windows issue as it doesnt only happen to onedrive, but all accounts related to that email. And its insane how this hasnt been fixed yet when people have reported this problem for over a year.
- Bunker900Copper Contributor
We are also having this issue, ran thru all the troubleshooting steps listed above, still stuck at sign-in for OneDrive and Sharepoint.
Microsoft announced that the Service Degradation for this was resolved (SP756928), but it persists for multiple users.
Has anyone had any luck?
- TheGamingNorwegianCopper Contributor
Bunker900 I even reinstalled windows 11 and it kept doing it. But I did find somewhat of a solution, I have a VPN called Proton VPN (since it’s free) and if I connect to the VPN then try to log in it works. So it must be something to do with local IP addresses or some, that something Microsoft’s systems just ignores requests from that specific IP address.
- kcCodeMonkeyCopper Contributor
For over a year now, my business OneDrive will randomly hang on 'Signing In' and like you, I've tried everything that might keep this from happening. I've never had this issue with my personal OneDrive (on the same system).
To regain access, from the task bar icon, open OneDrive settings, go to 'Account' and click 'Unlink this PC', then 'Quit OneDrive'. Reopen the OneDrive app and sign in. Follow the setup process and when it tells you the default folder already exists, click 'Use This Folder' and complete the remaining steps. It will then perform a full sync.
A while back, when I would go to sign in, I would get blocked by an initial dialog saying my account already existed, so instead of entering my actual email address, I would enter a fake email address, but with the same domain (bob2@ rather than bob@). That would get me past that dialog and to the Microsoft account screen where I could sign in using my actual email address. I haven't had to do that in a while, so maybe they got that part fixed at least.- dro__53Copper Contributor
I am having this issue with my personal OneDrive (works) and university OneDrive (is hung up on "signing in"). In the past different combinations of closing OneDrive and unlinking / relinking have worked, occasionally I've had to reinstall which is not ideal because it I have to resync my sharepoint folders and remove old ones. Trying to follow these steps to avoid reinstalling - I unlinked my university account and closed OneDrive. When I reopen OneDrive its opening the personal account version (there's only one app listed in my apps, though when both are running I've got ta grey cloud and a blue cloud in the taskbar). I tried to add a new account in OneDrive (using my university login), pointed to the old university onedrive folder, and that works but in the next step its saying that before I can back up my folders in OneDrive (university version) I need to turn off backups for my personal account. That seems problematic... Is there a different way to link, or to tell it I'm going to run two OneDrive accounts at once in a way that will work? kcCodeMonkey your instructions seemed like the closest fit for my issue so hoping you have insight.
- kcCodeMonkeyCopper Contributor
dro__53 I believe the issue may be related to the local folders that are being synced to each OneDrive account. Meaning, I don't think you can sync, for example, your Documents folder to your personal *and* university OneDrive accounts at the same time. I'm careful not to do that when I set things up, so I must have read that somewhere. During those times I need to re-establish my work OneDrive (because it's hung on signing-in) I always deselect Documents, Pictures, and Desktop during the setup process as those are already being backed up by my personal account. If I think of anything else, I'll chime back in.
- yoyouoCopper Contributor
Thanks for your reply. I was unable to find any of that info. This is insanity.kcCodeMonkey
- kuzma2000Copper Contributor
Download the utility from here https://github.com/ydkhatri/OneDrive . She needs Pyton. With this utility, you can view OneDrive logs. I tried different options and decided to migrate from 2012 to 2016. Everything worked out. If there are any questions with migration, I can advise you
- fjfk95Copper ContributorExact same problem here with company OneDrive on a Microsoft (!) Surface Device. Support Call from Microsoft advised to re-install OneDrive, which is just a bad joke as solution. This helps for around 1 week then the problem will appear again and as some of you already said this means to sync every SharePoint folder etc. again. Totally annoying!
- VeigalexCopper Contributor
My problem is very similar. After the last Windows 10 update, OneDrive keeps connecting and disconnecting. There's no point in doing anything. Uninstall, reset, erase credentials.
I've been researching and I think they even commented above. It's something with MFA or Windows.
- vibs2006Copper Contributor
I also often receive this error occasionally. What works for me is to wait for 5 minutes and then restart system! Microsoft have been always notorius for such annoyances from time to time. This is not the first time. If you'll look into the solution that is provided is actually force revoke type i.e it means that you should uninstall and install. This means that software's testing was really messed up.
- VeigalexCopper ContributorThe problem was solved.
There is a link to another ondrive in files and folders on my ONDRIVE.
I no longer had access to this other ONDRIVE.
I removed the links and the problem disappeared. - wadetmorrisCopper Contributor
Holy cow it was the time. The date and time were wrong for some reason when I fixed it the repeated signing in stopped.
- Delirium_SamaCopper Contributor
We experienced issues where our end-users were using OneDrive on remote desktops connected to Azure Cloud computers. It seemed that Microsoft Authenticator was not engaging during the login attempt, causing a block. However, when we “unlinked” the user’s OneDrive, closed OneDrive, then reopened it, and reconnected using the “add account” button, we were able to reconnect, and the Authenticator engaged.
- ukyrvou6ru6rCopper Contributor
Fact is, Microsoft 'fixes' are bo**ocks. If the OS is W7 , which one of my laptops is, you're buggered. It worked perfectly (W7) until a week ago, now it doesn't. Upating OneDrive is not an option, as it won't install on W7. Sure, jumping through hoops - stopping, unlinking,restarting... etc., signs you in. But as soon as computer wakes from sleep it's stuck on signing in again.