Home WINDOWS Fix 0x8004e4f1, Your OneDrive has not been setup error

Fix 0x8004e4f1, Your OneDrive has not been setup error

0
Fix 0x8004e4f1, Your OneDrive has not been setup error

[ad_1]

When signing into OneDrive, you may encounter the error message – Your OneDrive has not been setup, Error code: 0x8004e4f1. If you face this error, accessing OneDrive through the browser or an Office app like Excel and then saving it to the OneDrive Business account can be a workaround. But if you want to fix this issue on your OneDrive app on Windows 11/10, then this post will help you.

Fix 0x8004e4f1, Your OneDrive has not been setup error

What is the OneDrive error code?

The error usually arises when the UPN or the email domain in Microsoft 365 is changed to a new one. UPN is the default attribute that’s used to generate the email address. You use UPN to sign in to your devices, which can differ from email addresses.

However, to simplify things, you can keep the UPN and email address the same. For example, I changed the old UPN [email protected] to a new one – [email protected], and both these domains are confirmed and belong to the same Microsoft 365 tenant.

Now, when you change the UPN, the primary email address (SMTP) changes by default to match the UPN, which takes a bit longer. You can now set up Microsoft 365 apps again like Word, Excel, Outlook, etc., along with OneDrive. While this change applies properly to all other apps, it fails to apply to OneDrive. That is when you encounter the Your OneDrive has not been setup, Error 0x8004e4f1. 

Some of the reasons why you may see this error are if there are too many credential files (cache) in the OneDrive, a problem with OneDrive or its settings, a Firewall on antivirus blocking the app, and more.

Fix 0x8004e4f1, Your OneDrive has not been setup error

In some cases, it has been found that the user does not have permission to log in to OneDrive for Business app. Hence, in such cases, the admin (with a global admin account) may verify the user’s permission status. For this, the admin needs to navigate to OneDrive admin center > Active users > select this user, and check under OneDrive settings.

However, if the users have permission and the OneDrive error 0x8004e4f1 still shows up, you can follow the methods below to resolve the issue:

  1. Preliminary steps
  2. Clear Credential cache
  3. Unlink OneDrive from PC and re-link
  4. Re-link the user’s UPN using PowerShell
  5. Create a new user account
  6. Reset OneDrive
  7. Contact Office Support
  8. Re-install OneDrive

1] Preliminary steps

Before you move on to the advanced methods below, you can try the preliminary steps below to check if this helps fix the issue:

  • Wait for some time, since the change of domain usually takes a long time.
  • It could be an issue on the Microsoft side, so look out for official announcements.
  • Check if you can access the OneDrive web version on the browser.
  • Turn off Firewall or Antivirus temporarily.
  • Uninstall the MS Office 365 app and reinstall it from the Official Microsoft 365 Download page.

2] Clear Credential cache

remove onedrive cahced credential

The accumulated credential cache in OneDrive is one of the reasons why you may encounter the error 0x8004e4f1. Therefore, removing this Windows Credentials cache can help you fix the issue

  • Go to the Windows search bar and look for Credential Manager.
  • Next, select the Windows credentials tab and search for OneDrive cookie / cached credentials.
  • Click on Remove and this will delete the credentials from your device.

3] Unlink OneDrive from PC and re-link

create new link

In some cases, unlinking OneDrive from the PC and logging in again using a new UPN can help fix the error. Here’s how:

unlink this PC from OneDrive account settings

  • Open the OneDrive app, click on the gear icon on the upper right, and select Settings.
  • In the OneDrive Settings window, click on Account on the left.
  • Next, on the right, under the email address, click on Unlink this PC.
  • Now, re-install OneDrive from the official Microsoft download page.
  • Next, visit the admin.microsoft.com page, expand Users > Active users > OneDrive tab > select user > click on the Create link to files option.
  • Copy the generated link, go to the user’s PC, open this link, and click on Sync.
  • In most cases, this will fail and you will see the error again. In that case, unlink the PC again, and then repeat Step 6.
  • If you now encounter another error 0x8004de40, then exit the 2nd copy of OneDrive, and go back to the OneDrive that showed the error. Here, instead of hitting the sync button, try signing in again.

It will now connect and you should not see that error.

Read: Fix OneDrive error: Sorry there is a problem displaying this folder

4] Re-link the user’s UPN using PowerShell

If opening OneDrive on the web and trying to sync does not help and if the error still shows up, you can re-link the user’s old UPN to a new one using PowerShell. However, please note that the update can take hours to be applied to the Microsoft 365 account and hence, it’s advised to wait for at least 24 hours and then try to sign in to OneDrive.

  1. Press the Win + R keys together to launch the Run console.
  2. Type Powershell in the search bar and press Ctrl + Shift + Enter keys simultaneously to open elevated Windows PowerShell.
  3. Next, run the below commands one by one in the PowerShell window and hit Enter after each.
  • Set-ExecutionPolicy RemoteSigned
  • Install-Module -Name ExchangeOnlineManagement -Force
  • Import-Module ExchangeOnlineManagement
  • Connect-ExchangeOnline
  • Set-MsolUserPrincipalName -UserPrincipalName "old email address" -NewUserPrincipalName "new email address"

When asked, “Do you want to change the execution policy?” after the 1st command, press Y for Yes or A for Yes to All.

5] Create a new user account

create a new user account

If none of the above methods work, you can try creating a new user account on the problem device and then check if you can set up OneDrive.

  • Go to onedrive.live.com and click on Create One. Enter the email address you want to use, or you can choose – Use a phone number instead. Press Next.
  • You can also choose to Get a new email address if needed.
  • On the next page, Create a password and press Next.
  • Now, follow the on-screen instructions to create a new user account for OneDrive.

6] Reset OneDrive

If all of the above methods fail to work, you can reset the OneDrive app completely to get rid of the Your OneDrive has not been setup Error 0x8004e4f1.

7] Contact Office Support

Alternatively, you can either raise a support ticket with Microsoft. Sign in to Microsoft 365 with your Microsoft 365 admin account, and select Support > New service request. If you’re in the admin center, select Support > New service request.
If you’re an admin on the account, call (800) 865-9408 (toll-free, US only).

8] Re-install OneDrive

Uninstall and re-install OneDrive after downloading the OneDrive setup from the official Microsoft 365 page.

How do I fix the OneDrive network error?

OneDrive is an excellent way to stash your data in a safe cloud environment. However, the same cloud service feature triggers different errors at times, including network errors. It mostly arises due to unstable network connectivity, an issue with the OS update, connection errors between Microsoft and the OS, etc. While restarting the OneDrive client may help fix the issue, checking the internet connection should be the first on the list. Or, follow the instructions in this post – There was a problem Connecting to OneDrive, Error 0x8004deed for a quick fix.

Why is OneDrive not running on my PC?

If OneDrive won’t start in Windows or if it’s not running or opening, there could be several reasons behind it. The problem may arise if there’s not enough storage space in OneDrive, the app’s configurations are incomplete, or there’s an issue with the PC settings.

Fix 0x8004e4f1, Your OneDrive has not been setup error

[ad_2]

Source link

www.thewindowsclub.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here