OneDrive is unable to access keychain

Share

I have this problem today after i change my account on my macbook.

The solution that worked for me was to delete the OneDrive Cached Credential key from the Keychain. The procedure was the following:

  1. Launch Spotlight Search (shortcut: command + space), type keychain, and press return. This should launch the Keychain Access app.
  2. Type OneDrive into the Keychain Access search box. This should show a short list of keys related to OneDrive.
  3. Click on the key called “OneDrive Standalone Cached Credential” or some variant thereof.
  4. Press the delete key (or use the menu item Edit > Delete) to delete the cached credential key.
  5. Restart  OneDrive.
  6. Enter your user and password again.

I found the solution above on Apple forum.