Can't delete SharePoint search service application from GUI? Here is a solution.
POWERSHELL
Run SharePoint Management Shell as Administrator.
$spapp = Get-SPServiceApplication -Name "Name Search Service Application"
Remove-SPServiceApplication $spapp -RemoveData
Or
Get-SPServiceApplication
$P = Get-SPServiceApplication -identity PutYourSearchApplicationGuidHere
Remove-SPServiceApplication $P
Remove-SPServiceApplication $P -RemoveData
STSADM
Open up a Command Prompt using Admin Rights
Change directory to: cd C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN
Type the STSADM command
stsadm -o deleteconfigurationobject -id [Search Service Application GUID ID]
POWERSHELL
Run SharePoint Management Shell as Administrator.
$spapp = Get-SPServiceApplication -Name "Name Search Service Application"
Remove-SPServiceApplication $spapp -RemoveData
Or
Get-SPServiceApplication
$P = Get-SPServiceApplication -identity PutYourSearchApplicationGuidHere
Remove-SPServiceApplication $P
Remove-SPServiceApplication $P -RemoveData
STSADM
Open up a Command Prompt using Admin Rights
Change directory to: cd C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN
Type the STSADM command
stsadm -o deleteconfigurationobject -id [Search Service Application GUID ID]
nice post
ReplyDeleteSharePoint Online Training india
Does this delete the associated AppPool as well?
ReplyDeleteNo, must be done manually.
Delete