Hi,
Do you enable anti-virus software or firewall on your computer?
I suggest you disable anti-virus software and firewall, then check if you can sign in the account.
I also suggest you go to OneDrive for web: https://onedrive.live.com and check if you can sign the account.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
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.