Delete Hidden Web Application in SharePoint 2013 using PowerShell

delete hidden web application sharepoint

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

Scenario:
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.

Read some SharePoint 2013 tutorials on:

Error:

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

Solution:
Though we can’t see the application entry as part of Application Pools. 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 “<Application pool Names>”

Examples / Output:

delete hidden web application sharepoint 2016
delete hidden web application sharepoint 2016

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

Hope this works for you guys!!!!


You May Also like the Following SharePoint Online Tutorials:

About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 12 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 →