Pages

Thursday, June 27, 2013

Unable to delete Sharepoint Managed Account


I was trying to delete one of the SharePoint Managed Account , I was received the below error message
“An Object in the sharepoint administrative framework, “SPManagedAccountName=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. The dependant objects are as follows:”
 

Resolution:
1.       First delete the dependent Service application pool account using the below PowerShell commands

a.       Get-spserviceapplicationpool (it will displays all SharePoint Service application details)
b.      Remove-spserviceapplicationpool –identity “application pool name”    (it will delete the service application pool)
2.       Once you deleted the SharePoint service application pool, you can able to delete the SharePoint Managed account.