Translate

Sunday, March 9, 2014

Delete A Service Application In SharePoint

I needed to delete a service application in SharePoint. Tried to delete it using Central Admin and PowerShell and neither one worked. Good old Staadm was able to delete it. Here is the command:

stsadm.exe -o deleteconfigurationobject -id "87349a22-0cd6-4b35-b420-78fa2dff8c26"

You can find the ID of the service application in the address bar of Central Admin:
You can find the ID using PowerShell:

PS C:\Users\argolebiowski> Add-PSSnapin Microsoft.SharePoint.PowerShell
PS C:\Users\argolebiowski> Get-SPServiceInstance -server moss

TypeName                         Status   Id
--------                         ------   --
Managed Metadata Web Service     Online   c0b5f68e-424c-434f-8e06-71960fe6afe6
User Profile Synchronization ... Online   5ffb0768-ec34-4186-bb72-6c28faced877
Business Data Connectivity Se... Online   09549ad7-bc47-491c-9d73-bfb588c1a8c7
Secure Store Service             Online   4a14360b-3fba-4f90-83f9-97e03eded38d
Claims to Windows Token Service  Disabled 2ea5d177-7e5f-4b90-a3cb-8ed5c65d4e3c
Microsoft SharePoint Foundati... Online   fe30e019-4353-4560-9c8c-90584f8161ac
PerformancePoint Service         Online   c1d2e240-7186-446d-8b1a-24e5ecddd02c

No comments:

Post a Comment

Thank you for commenting!