SharePoint – Item has already been added error

The error “Item has already been added. Key in dictionary: ‘domain\account’ Key being added: ‘domain\account'” was preventing access to the configure managed accounts and configure service account menu’s within Central Administration, Security, General Security.

The solution is to remove one managed account using PowerShell.

$managedaccount = get-spmanagedaccount -identity “domain\user”
remove-spmanagedaccount $managedaccount[0]
This will remove the extra managed account.
You may have to log out and log in again. Also recycle the application pool associated with that managed account.

Leave a Reply

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