Can not remove a managed account from sharepoint CA, it shows that it is associated with deleted application pools

I want to remove a managed account from my managed accounts list. so i went to "CA >> Security >> Configure Managed Account", i click on "Delete":-

enter image description here

but i got the following exception :-

Sorry, something went wrong 
An object in the SharePoint administrative framework, "SPManagedAccount Name=managed-account-S-1-5-21-2423832088-805756336-3312544506-1562", 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.  The dependant objects are as follows: 
SPIisWebServiceApplicationPool Name=search 
SPIisWebServiceApplicationPool Name=s 
SPIisWebServiceApplicationPool Name=s2 
SPIisWebServiceApplicationPool Name=search100 
SPIisWebServiceApplicationPool Name=search200 
SPIisWebServiceApplicationPool Name=user prifile 
SPIisWebServiceApplicationPool Name=ContosoGeneralMMSAppPool 
SPIisWebServiceApplicationPool Name=MMS 
SPIisWebServiceApplicationPool Name=metadata 
SPIisWebServiceApplicationPool Name=searchservice 
SPIisWebServiceApplicationPool Name=searchservice2014 
SPIisWebServiceApplicationPool Name=search3 
SPPasswordChangeEventJobDefinition Name=job-password-eventAD-T..\***AboutToChange 
SPPasswordChangeEventJobDefinition Name=job-password-eventAD-T..\****iHasChanged 


the problem is that these application pools that are shown on the error message belongs to old managed services that were previously removed,, and this managed account i am trying to delete is not associated with any SharePoint application pool i checked this by going to (CA >> Security>>configure Service Accounts) . so can anyone adivce on this, as i am unable to un-associte the managed account from the above application pools, since these application pools no more exists, these application pools do not shown under (CA >> Security>>configure Service Accounts) ?



July 17th, 2015 6:02pm

Have you tried:

Remove-SPManagedAccount -Identity "domain\username"
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2015 10:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics