What is “accountsd” and what does it have to do with the Mail app on macOS Catalina?



Although it seems that macOS development has started to lag behind that of iOS and iPadOS, macOS is still here to stay. Catalina was released last year and that brought a slew of great features.

Related Reading

However, macOS Catalina is also being touted as one of the more frustrating releases. Part of this is due to the large amount of bugs, including a prompt where ‘accountsd wants to use the “login” keychain.’

What is “accountsd”?

Every time that you log into an account from your Mac, you are using the Accounts Framework. This gives the system access to any of the user accounts that are stored in the system. Additionally, the integration with the Framework makes it so that your username and passwords are stored, without the need for using another app or service. More commonly, this is known as iCloud Keychain.

What is the “login keychain”

What is “accountsd” and what does it have to do with the Mail app on macOS Catalina

From time to time, you may see a prompt that appears which references the login keychain. This is a system application which works with iCloud Keychain to store your passwords and account information.

An issue that has been cropping up after the release of Catalina is that the prompt continues to show. There are different possibilities which could explain why this is happening. However, with Catalina, it seems that the Mail application continues to request access with no reason as to why.

How to get rid of the “accountsd” pop-up for good

When this pop-up appears, you the system does not allow you to simply press the “Cancel” button. Instead, you have to put in the keychain password and then click the “OK” button. There are a few different methods for “fixing” this pop-up from appearing again.

Check for a software update

macOS checking for software updates in System Preferences
Check for new software updates to your Mac.

Whenever there are issues with your device, you should always check for a software update. This is especially true with your Mac, as Apple has been releasing bug fix updates on a regular basis. Here’s how to check for a Software Update:

  1. Open the System Preferences app on your Mac.
  2. Click the Software Update button in the bottom menu.
  3. Wait for the panel to load
    • If update is available, select Update Now
    • If no update is available, try the following solutions

In some cases, you will go through and update the software, and the problem still occurs. At that point, you may want to reboot your Mac again just to make sure that no cobwebs are sticking around.

Remove any Exchange accounts from Mail

For whatever reason, the Mail app seems to be the culprit behind this “accountsd” dialog box. But the dialog box is not the only issue, as users have seen CPU spikes when not connected to Wi-Fi. Here’s a series of steps to fix issues around Exchange accounts.

Delete Mail from Library

  1. Open the System Preferences app on your Mac.
  2. Click on Internet Accounts.
  3. Highlight and delete any of your Exchange accounts.
  4. Open Finder, and navigate to ~/Library/Mail.
  5. Right-click on the folder and Delete.
  6. Open Finder, and navigate to ~/Library/Containers/com.apple.mail.
  7. Right-click on the folder, and Delete.
  8. Restart your Mac and uncheck the box to Reopen windows when logging back in.

After you have logged back into your Mac, you’ll need to re-add those Exchange accounts. But this time, there’s a bit more that you will need to do.

Configure Mail Manually

  1. Open the System Preferences app on your Mac.
  2. Click on Internet Accounts.
  3. Tap the + icon and select Exchange.
  4. Enter the username and password for your account.
  5. Click Configure Manually and enter your password.
  6. Make sure that only Mail is checked to sync to your Mac.

Once the account has been configured from the System Preferences app, you must change the connection settings. This includes verifying the URL’s for internal and external mail accounts.

Manage Connection Settings Mail

  1. Open the Mail app on your Mac.
  2. From the Menu Bar, click Mail > Preferences > Accounts.
  3. Highlight your newly-created Exchange account and select Server Settings.
  4. Uncheck Automatically manage connection settings
  5. Make sure that the Internal and External URL’s are set to: https://outlook.office365.com/EWS/Exchange.asmx
  6. Close and re-open the Mail application.

This is a very long-winded method, but this is will hopefully solve those “accountsd” dialog boxes. Additionally, some users have seen CPU spikes and battery draining when there is no Wi-Fi connected.

Turn off Keychain Auto-Lock

Since iCloud Keychain works in the cloud, the service is constantly checking to see if new entries have been entered and if old entries have been updated. However, in order to keep your passwords protected, they are automatically locked. Some users have found that disabling the auto-lock feature will stop the dialog boxes from appearing.

Turn off Keychain Auto-Lock

  1. Open the Keychain Access app on your Mac.
  2. From the side-panel, right-click on Login.
  3. Select Change Settings for Keychain “login”….
  4. Uncheck both options.
  5. Click Save.

Turn off Keychain Auto-Lock 2

This should remove the need for your Mac to continue sending prompts for “accountsd” access.

Remove your iCloud Keychain

Another method for getting these issues to stop is to essentially “reset” your iCloud Keychain on the Mac. This can be done by removing it from your Mac completely, restarting your computer, and then logging back in.

Open Apple ID from System Prefs

  1. Open the System Preferences app on your Mac.
  2. Tap Apple ID at the top of the panel.
  3. Scroll down and de-select Keychain.
  4. Select Delete from Mac.
  5. Restart your Mac.
  6. Open the System Preferences app on your Mac.
  7. Tap Apple ID at the top of the panel.
  8. Scroll down and toggle the Keychain checkbox.

Toggle Keychain in Apple ID preferences

Since your keychain is stored in the cloud, reactivating it will sync across your devices. This includes your Mac and you can rest easy knowing that your passwords will re-populate.

Reset the local Keychain

The reason for resetting your local keychain is still tied to the “accountsd” problem. If you keychain is acting up, resetting the local password will help to force the keychain to sync properly.

Reset Default Keychains

  1. Open the Keychain Access app on your Mac.
  2. Click Keychain Access in the Menu Bar.
  3. Select Preferences from the drop-down menu.
  4. Click Reset My Default Keychains.
  5. Enter a new Keychain password.
  6. Tap OK.
  7. Log out and then back into your Mac.

In some cases you may want to do a full restart of your Mac after resetting the keychain. This will knock out any potential cobwebs that could be hanging around from your previous keychain information.

Conclusion

It’s really frustrating to be going throughout your day, only to be continuously prompted to enter a password. Especially when it comes from something like the “accountsd” Framework, which most people have no clue about.

The above methods are some of the options that worked for folks, including myself. Hopefully Apple gets on the horse and continues implementing these bug fix releases so users don’t have to jump through hoops.

Leave a Reply

Your email address will not be published. Required fields are marked *