• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

AppleToolBox

Tools and Fixes for Mac, iPad, iPhone & iWatch

Search posts

  • About
  • Contact

CONNECT WITH US

CATEGORIES

  • iPhone
  • iPad
  • iPod
  • Apple Watch
  • Mac/MacBook
  • AirPods
  • Apple TV
  • News
  • Apple Services
  • HomePod
  • Reviews

SITE

  • Home
  • About Us
  • Contact
  • Advertise

Search posts

You are here: Home / Mac / How to Fix OneDrive Error Code 8004dec6 on Mac

How to Fix OneDrive Error Code 8004dec6 on Mac

By Madalina Dinita 2 comments Last updated December 29, 2022

Logging into your OneDrive account on Mac shouldn’t take more than a few seconds. But the app may sometimes throw a strange error that says “There was an error signing you in. Please try again in a few minutes. Error code: 8004dec6“. If you try to log in to your account after a few minutes, you may get the same error again, or a different error code. Let’s explore how you can get rid of OneDrive error code 8004dec6.

Contents

  • How Do I Fix OneDrive Error 8004dec6 on Mac?
    • Reset Keychain
    • Remove Office for Mac Activation Files
    • Reset OneDrive
    • Remove Corrupted App Cache Files
    • Reinstall OneDrive
    • Conclusion

How Do I Fix OneDrive Error 8004dec6 on Mac?

onedrive-error-code-8004dec6

Reset Keychain

  1. Close OneDrive and quit all MS Office apps running on your MacBook.
  2. Launch Finder, and navigate to Applications → Utilities → Keychain Access.
  3. Delete the following entries:
    • Microsoft Office Identities Cache 2
    • Microsoft Office Identities SettingsMicrosoft-Office-Identities-Cache-2-keychain-access
  4. Then, check if there are any ADAL references in the keychain. Remove the respective entries as well.
  5. Restart your Mac, launch OneDrive again, and check if you can log in to your account.

Remove Office for Mac Activation Files

Note: If you delete the Office activation files, your Outlook data will be removed as well. Don’t forget to back up the activation files before removing them.

  1. Navigate to Library, select Group Containers. Alternatively, you can also press the Command, Shift, and G keys and then enter ~/Library/Group Containers in the search field.
  2. Select the folders below and drag them to Trash:
    • UBF8T346G9.ms
    • UBF8T346G9.Office
    • UBF8T346G9.OfficeOsfWebHostmac-group-containers-ms-office
  3. Restart your computer, launch OneDrive, and check if you can sign in now.

Reset OneDrive

  1. Exit OneDrive completely (click on the cloud icon, and select Quit OneDrive.)
  2. Go to the Applications folder, and locate OneDrive.
  3. Then right-click on OneDrive and select Show Package Contents.
  4. Go to Contents, and open the Resources folder.
  5. Double-click on the ResetOneDriveApp.command to reset the app.
    • Note: If you’re using the standalone OneDrive app, click on the ResetOneDriveAppStandalone.command.reset-onedrive-on-mac
  6. Launch OneDrive, and follow the on-screen steps to set up the app again.
  7. Check if error code 8004dec6 is gone.

Remove Corrupted App Cache Files

Corrupted cache files might be interfering with the login process. Clear them and check if the problem persists.

  1. Launch Finder, click Go, and then select Go to folder.
  2. Enter ~/library/containers in the search field and hit the Go button.
  3. Locate the com.microsoft.onedrive-mac folder and delete it.
  4. Restart your Mac, launch OneDrive again and check the results.

Reinstall OneDrive

If error code 8004dec6 won’t go away after following all the steps listed above, uninstall OneDrive. Restart your Mac, and reinstall a fresh copy of OneDrive. Hopefully, reinstalling the app will fix this annoying login error.

Conclusion

To fix OneDrive login error 8004dec6, reset your Keychain data, and remove the Office for Mac activation files. If the problem persists, reset OneDrive, and delete corrupted cache files. As a last resort, uninstall and reinstall the OneDrive app.

Which of these methods did the trick for you? Let us know in the comments below.

Related Posts:

  • How To Add Notes to iCloud Keychain Passwords
    How To Manage Your Passwords with Keychain
  • authentication-session-has-expired-microsoft-office-mac
    Fix: The Authentication Session Has Expired MS Office
  • fix microsoft wants to use your confidential information mac
    Mac: Microsoft Wants to Use Confidential Information
  • Apple Unleashed Hero
    Error Occurred During Activation for iMessage or…
  • pexels-tima-miroshnichenko-6860464
    How To Start Using Regex With The Shortcuts App
  • OneDrive-Error-8004ded0-mac
    How to Fix OneDrive Error 8004ded0 on Mac
  • pexels-cottonbro-5474033
    How To Navigate Folders Using The Mac Terminal
  • pexels-hana-mara-3650616
    The Best Homebrew Apps For Mac
  • 2022 Mac Mini with Studio Display and Accessories
    Mac Tips For New Users In 2023
Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies — AI and DNA computing in particular.

Reader Interactions

Write a Comment Cancel reply

Show 2 Comments

  1. aaaaaa says

    November 13, 2023 at 2:47 AM

    What fixed it for me was that the user has synced an external sharepoint site to their finder, which somehow in chrome had activated a web-app version of onedrive that ran in the background. It was called “Microsoft Onedrive”, installed itself on the mac somewhere. Logging out of that and then uninstalling the app solved the 8004dec6 error. It had previously been saying that they were already logged in with another app.

    Reply
  2. Phil Bryant says

    October 16, 2021 at 7:38 PM

    Worked. Thank you!

    Reply

Primary Sidebar

Recent Posts

  • How to Export iTunes Library to New Computer
  • What the Gemini Desktop App Will Bring to Mac
  • What to Do When Windows 11 Won’t Detect Your iPad
  • Outlook Outage 2026: iPhone Fixes for Sign-In Chaos
  • Guide to Changing iMessage Backgrounds on iPhone and Mac
  • Has Apple Killed Vision Pro? (Insane Sales Flop Explained)

Connect with us

Footer

ABOUT

  • About Us
  • Contact us
  • Advertise
  • Privacy
  • Terms of Use

GUIDES

  • iOS & iPadOS
  • Apple ID
  • iCloud
  • App Store
  • iTunes
  • FaceTime
  • iMessage
  • Siri
  • Books and iBooks
  • Game Center
  • AirPlay

CONNECT

  • Facebook
  • Twitter
  • FeedBurner
  • YouTube

© Copyright 2010-2024 Guiding Tech Media · All Rights Reserved

This site and its content are in no way affiliated or endorsed by Apple, Inc. · Reproduction without explicit permission is prohibited

Last Updated on December 29, 2022 by Mitch Bartlett