From OneDrive's perspective, I want to confirm whether you can log in to OneDrive online?
Is there any realted error record in Windows Event Viewer?
I suggest you check if you have enabled ADAL for authentication. If yes, please add the following registry key:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
"EnableADAL"=dword:00000000
"DisableADALatopWAMOverride"=dword:00000001
"DisableAADWAM"=dword:00000001
(Serious problems might occur if you modify the registry incorrectly. Before you modify it, please remember to back up the registry for restoration in case problems occur.)
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.