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!!!!

Similar SharePoint 2013 Tutorials


Leave a Reply