Fix There was a problem connecting to OneDrive 0x8004deef Error in Windows 11 or 10

Best methods to solve “There was a problem connecting to OneDrive You don’t have access to this service. For help, contact your IT department. (Error code: 0x8004deef)” in Windows 11 or 10.

0x8004deef

“There was a problem connecting to OneDrive 0x8004deef” can appear when you try to access or log into OneDrive, the free cloud storage to Share files and store photos online. OneDrive is cloud-based storage from Microsoft and offers users the ability to store and retrieve their files from any device connected to the internet. Due to its convenient cloud, file sharing, and collaboration features, the Microsoft service has gained popularity among individuals, professionals, and businesses as a preferred choice for storing and accessing files.

When the problem occurs it shows a message ‘There was a problem connecting to OneDrive You don’t have access to this service. For help, contact your IT department. (Error code: 0x8004deef)’. This issue is likely to arise when the cloud storage account has a problem, such as a missing license or a credential mismatch. To resolve the OneDrive error there are multiple potential solutions that can be explored. These include Ensuring a powerful internet connection, using correct account credentials, such as the user ID and password, checking configuration, and resetting cache. See: Fix OneDrive Error 0x8007016A The cloud file provider is not running in Windows. Follow them one by one:

There was a problem connecting to OneDrive 0x8004deef

Here is How to fix There was a problem connecting to OneDrive 0x8004deef in Windows 11 or 10 –

Method-1: Reset Microsoft OneDrive

Resetting OneDrive can restore it to its default settings, which can help resolve various problems such as sync errors, sign-in issues, or unexpected behavior. This will not affect files or folders stored in the cloud but only app’s settings and configurations.

  1. Right-click on Start and select Run.
  2. Type the following commands, one line at a time, in the Run dialog box and press Enter:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
How to fix There was a problem connecting to OneDrive 0x8004deef in Windows 11 or 10
  1. Restart the computer and check if the error is fixed.

Method-2: Delete Identity folder from Registry Editor

Registry Editor stores the account identity of online OneDrive account (Microsoft Office) which can cause interference with logging into the service. Therefore, delete the folder working as a cache in the Registry.

  1. Press Windows and R.
  2. Type regedit.exe.
  3. Click on Yes when User account control appears.
  4. Once the Registry Editor appears on the screen go to the below string:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
  1. Right click on Identity from the left panel and select Delete.
Delete Identity folder from Registry Editor
  1. Reboot your device to see if the error no longer occurs.

Method-3: Remove Cached Credentials

OneAuth and IdentityCache folders located in localappdata save the OneDrive Credentials as cache and removing them helps solve 0x8004deef problem. The process is quite easy so follow the steps:

  1. Open Run dialog box (Winkey+R).
  2. Type %localappdata%/Microsoft/OneAuth and hit “Enter”.
  3. Delete all the content in the folder.
There was a problem connecting to OneDrive 0x8004deef
  1. In the same way, run %localappdata%/Microsoft/IdentityCache folder and delete entire items in it.
  2. Restart the system and try logging in OneDrive.

Method-4: Ensure a consistent and strong internet connection

Before making any significant changes to your system, it is vital to confirm the stability of your network connection. OneDrive error code 0x8004deef can be caused by a feeble or inconsistent internet connection. To evaluate your internet connection, perform a speed test. If the test indicates a speed below your subscribed plan, it is recommended to restart your router and modem as the next step.

Once it is definite that the Internet connection is working properly try to log into OneDrive.

Method-5: Correct date and time settings

Ensuring that your device has the correct date and time settings is crucial for resolving There was a problem connecting to OneDrive 0x8004deef. Incorrect date and time settings can cause synchronization issues and authentication problems when attempting to sign in to OneDrive.

  1. Press Windows and I on the keyboard.
  2. Select Time & language from the left panel.
  3.  Go to the right and click on Date & time.
  4. In the next Settings page, make sure that Time zone is correctly selected.
  5. Turn on the toggle switch for Set time automatically.
Correct date and time settings
  1. Under Additional settings, click on Sync now.
  2. Then try logging into OneDrive once more.

Method-6: Check and verify OneDrive Username and Password

Incorrect or obsolete login credentials such as username and password can prevent one from accessing OneDrive account. By carefully verifying your login credentials and ensuring they are accurate and up-to-date, you can overcome OneDrive login error caused by authentication issues.

  1. Carefully check that you are entering the correct account user ID and password paying attention to space that can be mistakenly input.
  2. Type the existing password and see if it works.
  3. If this fails, click on the Forgot password option.
  4. Follow the instructions provided for the password recovery procedure.

Method-7: Turn off the Proxy or VPN

VPN (Virtual Private Network) and proxy servers can sometimes hamper the authentication process and cause connectivity issues with OneDrive. Disabling VPN or proxy settings can be an effective solution for resolving There was a problem connecting to OneDrive 0x8004deef.

  1. Right Click on Start and choose Settings.
  2. From the left side, click on Network & internet.
  3. Navigate to right pane and select Proxy.
  4. On the next page, turn off “Automatically detect settings”.
onedrive error 0x8004deef
  1. Make sure that Manual proxy setup is disabled.
  2. Come back to “Network & internet” settings and select VPN.
  3. Make sure that any VPN is not setup. If one is configured remove it.

How to Manage Proxy Settings in Windows 10

Methods:
Method-1: Reset Microsoft OneDrive
Method-2: Delete Identity folder from Registry Editor
Method-3: Remove Cached Credentials
Method-4: Ensure a consistent and strong internet connection
Method-5: Correct date and time settings
Method-6: Check and verify OneDrive Username and Password
Method-7: Turn off the Proxy or VPN

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.