Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Symptoms
When you try to sign in to Microsoft OneDrive, you can't sign in, and you receive the following error message:
You don't have access to this service. For help, contact your IT department. (Error code: 0x8004deef)
Cause
This issue might occur if your OneDrive account has a problem, such as a missing license or a credential mismatch.
Resolution
To resolve this issue, try the following methods.
Method 1: Make sure that the account has a valid license assigned
Depending on how your organization purchased OneDrive for users, you might no longer have a OneDrive license assigned, or the license might be expired.
Note: The following steps must be completed by a Microsoft 365 administrator in your organization.
- In the Microsoft 365 admin center, select Users > Active users.
- Select the user who is experiencing the issue.
- In the user pane, select Licenses and apps.
- Expand the Licenses section, and make sure that a OneDrive license is assigned to the user.
Note
If multiple users experience the issue, it means that the subscription might be expired. To check the subscription status, open the Microsoft 365 admin center, and then select Billing > Your products.
Method 2: Remove the cached account identities
Important
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
Start Registry Editor.
Locate the following registry subkey:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
Right-click Identity, and then select Delete.
Note
If you have Shared Computer Activation enabled, also remove the following registry subkey:
HKEY_USERS\<user_SID>\SOFTWARE\Microsoft\Office\16.0\Common\Identity
To get the SID of the currently signed-in user, run the whoami /user
command at a command prompt. If the issue persists, go to Clear prior activation information manually, expand "Section A: Remove Office licenses & cached accounts," and then follow the steps in "Part 1: Remove previous Office activations" and "Part 3: Remove Office credentials stored in Windows Credential Manager."
If you still experience the issue, follow these steps to remove the folders that contain cached credentials:
Sign out of OneDrive.
Remove all subfolders in the following folders:
- %localappdata%/Microsoft/OneAuth
- %localappdata%/Microsoft/IdentityCache