If somebody like the post and its helpful in your work then, add comments.

Friday, November 2, 2012

SharePoint 2010 error when trying to delete a managed account: An object in the SharePoint administrative framework, SPManagedAccount Name=managed-account could not be deleted because other objects depend on it. Update all of these dependants to point to null or different objects and retry this operation.

After deleting a User profile Service Application, we may want to clear up the corresponding managed account that we have created for the Service Application.

But we get the above error when we try to deleted the acount from CA-> Securtiy->Configure Managed Accounts.

To resolve this error, we have to use SharePoint PowerShell,

Steps :

  1. Go to Start->Microsoft SharePoint 2010 Products->SharePoint 2010 Management Shell
  2. Paste this commend on the shell “Get-SPServiceApplicationPool” (get a list of the Service Application Pools)
  3.            App
  4. The run the following cmdlet “Remove-SPServiceApplicationPool” and press enter key.
  5. The the service application pool and press enter
  6.          App1
  7. Remove the Managed account via PowerShell by following cmdlets
  8. Get-SPManagedAccount
    Remove-SPManagedAccoun <accounetname>

No comments:

Post a Comment