Delete orphaned Application Pool (SP 2010 / 2013)

Oct 22, 2012 by Christoph // Leave a Comment

During setting up my User Profile Service in SharePoint 2013 I run into an error after the databases and the Application Pool was already created. To start over and try again (still beta, right?) I deleted my User Profile Service Application including the Databases and tried to recreate the User Profile Service with the same settings. This time hitting “OK” I run into an error telling me an Application Pool with the same name already exists.

My first thought was to look up the Application Pools in the IIS Manager, but the Application Pool in question was missing:


Listing the SharePoint Application Pool in the SharePoint Management Shell shows me that the App Pool is still there.


Great, seems like the connection got lost somehow! Sad smile

To remove the orphaned Application pool, you can run the following command:

Remove-SPServiceApplicationPool –Identity “UserProfileServiceApplicationPool”

Keep in mind, that the Identity is the name and not the ID of the Application Pool. Following listing shows the command and the result listing the available Application Pools again.


Ok…new try creating the User Profile Service! Smile

Have fun.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Copyright © 2012 techblog All Rights Reserved.

The posts on this weblog are provided “AS IS” with no warranties, and confer no rights. The opinions expressed herein are personal and do not represent those of my employer.

Designed & Developed by ThemeElephant