Follow this method to fix OneDrive Error Code 0x8004deb4:
Open Registry Editor by typing regedit in the Run prompt (Win +R) followed by pressing the Enter key.
Navigate to the following path and double-click on EnableADAL to edit the value.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive
Set the value as 00000002 when in hexadecimal mode.
Exit and check if the issue has been resolved.