A Microsoft file hosting and synchronization service.
Hi, UNNATII NAIK
Since the same account works on your phone, the account itself is probably fine. The “Login Cancelled” message is more likely caused by damaged OneDrive sign-in data or cached credentials on the Lenovo PC.
Here are some suggestions you can try:
Press Windows key + R, paste the following command, and select OK:
%localappdata%\Microsoft\OneDrive\OneDrive.exe /reset
Wait about one minute, then open Start, search for OneDrive, and start it again. Resetting OneDrive does not delete your cloud files, but it rebuilds the app settings and sync connections.
If sign-in is still canceled, press Windows key + R, paste %localappdata%\Microsoft\OneDrive\settings, and select OK. Delete only the file named PreSignInSettingsConfig.json, then restart OneDrive and try signing in again.
If that does not help, uninstall Microsoft OneDrive from Settings > Apps > Installed apps, restart the PC, and install the latest OneDrive version again. Reinstalling will not remove files already stored online.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Yes" 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.