Delete Hidden Web Application in SharePoint 2013 using PowerShell

delete hidden web application sharepoint
SharePoint deveopment training course

Here in this SharePoint 2013 tutorial, we will discuss how we can delete hidden web application using PowerShell in SharePoint 2013/2016.

While creating “Power Pivot Service Application” I have encountered the below error message, but I couldn’t be able to see the application pool as part IIS physically. The error comes as:

Sorry, something went wrong.
An object of the type Microsoft.SharePoint.Administration.SPLisWebServiceApplicationPool named “Power Pivot Service Application” already exists under the parent Microsoft.SharePoint.Administration.SPLisWebServiceSettings names “SharePoint Web Services”. Rename your object or delete the existing object.

sharepoint 2013 delete hidden web application
sharepoint 2013 delete hidden web application

Though we can’t see the application entry as part of Application Pools.

Delete Hidden Web Application in SharePoint 2013 using PowerShell
Delete Hidden Web Application in SharePoint 2013 using PowerShell

Delete Hidden Web Application in SharePoint 2013 using PowerShell

We should say thank you for Microsoft for providing PowerShell command to delete the hidden Application pools.

Here are the commands for the same:
To list all the hidden Application pool(s):

"Get-SPServiceApplicationPool"

Delete the Application Pool(s)

Remove-SPServiceApplicationPool -Identity ""

Examples / Output:

Delete Hidden Web Application in SharePoint 2013 using PowerShell
Delete Hidden Web Application in SharePoint 2013 using PowerShell

You may like following SharePoint tutorials:

Once the application pool is deleted we can create the application pool with the same name.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →