When I try to sign into OneDrive, I receive an error message that reads, There was a problem connecting to OneDrive. Check your Internet connection, and then try again. (Error Code: 0x8004de40).
Reset OneDrive following steps provided at https://support.microsoft.com/en-us/office/reset-onedrive-34701e00-bf7b-42db-b960-84905399050c
If unsuccessful or for an alternative solution, uninstall/reinstall OneDrive from device following steps provided at https://support.microsoft.com/en-us/office/turn-off-disable-or-uninstall-onedrive-f32a17ce-3336-40fe-9c38-6efb09f944b0