About Me

I've been working with SharePoint for about 4 years now, which is a lot of a 24 year old's career! I both love it and hate it :-) I wouldn't say I specialise in anything, just SharePoint! I am a dev, so some of my posts will contain XML, C#, references to the 14 hive, but I'm also an admin so will often talk about stsadm, powershell and central admin. Some of my blog posts may be very simple references to improve coverage of common pitfalls, some may be in-depth walkthroughs, and some may just be a rant!

Monday, 21 March 2011

SharePoint 2010 - How to delete a service application that won’t delete through the UI.

You may have experienced this before whilst digging around the Service Application area of SharePoint 2010's Central administration. Basically you want to delete a Service Application but the UI won't let you... thanks!


So go onto the SharePoint server and open up SharePoint 2010 Management Shell from the start menu.


Then run Get-SPServiceApplication to return a list of all service applications. Copy the ID of the one you want to delete.



Open a command prompt at C:\Program Files\Common files\Microsoft shared\Web server extensions\14\bin (SharePoint root) and type "stsadm –o deleteconfigurationobject –id " and then paste in the id of the service application you copied from Powershell. Done!

No comments:

Post a Comment