Wednesday, June 12, 2013

SharePoint 2013: Can't delete Web application "an object already exists"

Problem:

Can’t delete a web application. Receiving the following error:

Remove-SPWebApplication : An object of the type Microsoft.SharePoint.Administration.SPIisWebsiteUnprovisioningJobDefinition named “Unprovisioning SharePoint Web Application Name” already exists under the parent Microsoft.SharePoint.Administration.SPWebService named “”. Rename your object or delete the existing object. At line:1 char:24

Solution:

Go to:
  1. Central Administration
  2. Monitoring
  3. Review job definitions 
  4. Scroll to the bottom and click the “forward” arrow 
  5. Look for “Unprovisioning Web Application (SharePoint Web Application Name)” (it will be a one-time schedule) 
  6. Delete the job 
Done.

No comments:

Post a Comment

Thank you for your comments!