A Microsoft file hosting and synchronization service.
Hello, thank you for reaching out to Microsoft Q&A.
You can try these troubleshooting steps here and see if they help.
1
Connect your device to a different Wi-Fi network and sign in with your Microsoft account.
Turn on your Mobile hotspot.
Then connect your PC to the Mobile hotspot network and connect to OneDrive.
2
Reset OneDrive.
You can follow the steps in the Microsoft article here to successfully reset OneDrive.
Once done, see if you can get connected.
3
Network Reset.
Open Command Prompt as Administrator.
Execute the commands below one by one and click Enter for each command.
netsh winsock /reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Once completed, restart your computer and connect to OneDrive.
You can also run the network troubleshooter from Settings > System > Troubleshooters > Other troubleshooter > Network > Click Run.
Once completed, restart your computer.
If you are still having issues, let me know.