A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
It seems you are experiencing issues signing into OneDrive, potentially due to problems with Microsoft Authenticator. One common error when signing into OneDrive is the error code 0x8004dec5, which is usually caused by multiple cached identities. Here are some steps you can take to resolve this issue:
- Remove Cached Identities from the Registry:
- Start the Registry Editor.
- Navigate to
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity. - Right-click on Identity and select Delete.
- If Shared Computer Activation is Enabled:
- Also remove the entry from
HKEY_USERS\<user_SID>\SOFTWARE\Microsoft\Office\16.0\Common. - You can find your user SID by running the
whoami /usercommand in Command Prompt.
- Also remove the entry from
- Clear Cached Credentials:
- Sign out of OneDrive.
- Remove all folders in the following locations:
-
%localappdata%/Microsoft/OneAuth -
%localappdata%/Microsoft/IdentityCache
-
If the issue persists, consider checking if your OneDrive account is frozen due to inactivity or exceeding storage limits. You can learn more about this by visiting the appropriate Microsoft support pages.
References: