Unable To Sign-Out Of iCloud

Have you ever gone to your Mac’s iCloud System Preferences and clicked the Sign-Out button and then had your Mac fail to properly sign-out of iCloud? Typically, signing out of iCloud is a straight-forward process, but in rare occassions, I’ve encountered difficulty. If you’re having this problem, try one of these options that have worked for me. Apple introduced the iCloud System Preference pane in OS X Lion, version 10.7.5. Before that it was called MobileMe.

Option 1

  1. Make sure you’re signed in to your Mac using a User account that has administrative privileges. (Explaining how to do this is outside the scope of this article.)
  2. Go to /Applications/Utilities and double-click Terminal to open it. (Before you use Terminal, please make sure you have a full backup of your Mac. Issuing commands in Terminal improperly can have very adverse effects on your Mac.)
  3. Type this command: defaults delete MobileMeAccounts
  4. Press the Return (aka Enter) key and type your user account password if prompted.
  5. Now, see if you can sign out of iCloud successfully. Go to the Apple menu, select System Preferences and click on the iCloud button. Click on the Sign Out button.

Option 1 is based on information provided at BenCoding.com

https://bencoding.com/2017/02/12/forcing-icloud-logout-on-your-mac

Option 2 – Warning: Deleting these files mentioned below will cause every account you have setup in the Internet Accounts System Prefernces pane to be deleted. Thus, you would need to re-add any other accounts, if you want them.

If you know how to access the invisible Library folder in your User Account then delete the following files:

~/Library/Preferences/MobileMeAccounts.plist and the contents of ~/Library/Accounts

Click on the Apple menu and select Log Out

After your Mac has logged you out of your account, you’ll be taken to the Login screen. Select your account and login again.

Now see if you can sign out of iCloud successfully. Go to the Apple menu, select System Preferences and click on the iCloud button. Click on the Sign Out button.