A Microsoft file hosting and synchronization service.
Hi, Faiz
This usually means the account itself is fine, but the local OneDrive sign-in data on the PC is stuck, or something on the network is blocking the sign-in page from finishing. The fact that a wrong email gives an error is a good sign, because it shows OneDrive is still responding.
Besides the solutions provided by the Q&A Assist, here are some suggestions you can try:
First, check if you can sign in normally at OneDrive on the web. If the website works but the app does not, the problem is likely with the Windows app cache rather than your account.
Open Credential Manager and remove old OneDrive or Microsoft 365 entries, then restart the PC and try again. Corrupted saved credentials can keep OneDrive on the loading screen.
If none of that works, try signing in from a new Windows user profile. If that works, the issue is likely with the current Windows profile.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.