A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Wednesday, August 20, 2014

Duplicate managed accounts - Item has already been added error

You can add multiple managed accounts in SharePoint but you cannot delete them. If you add same account twice, and you are logged in with that account, you get following error when you try to do anything in the central admin:

Item has already been added, key in dictionary: domain\user

The solution is to remove one managed account. Use 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.

4 comments:

  1. Information was good,i like your post.
    Looking forward for more on this topic
    SharePoint Administration Training in Hyderabad

    ReplyDelete
  2. Great article ...Thanks for your great information, the contents are quiet interesting. I will be waiting for your next post.
    SharePoint 2013 Online Training in Hyderabad

    ReplyDelete