Site Collection under WebApplication RRS feed

  • Question

  • Getting below screen, any guidance for the Web App and application under it, why this is happening and its remedy.

    Wednesday, May 7, 2014 7:02 AM


  • Hi faizan,

    You are getting this because web application which was hosting this PWA instance was deleted, which is an incorrect way of removing PWA. The proper way to delete PWA is to remove PWA prior to remove web application.

    In order to fix this, please use the following Power Shell script to remove the orphan PWA instance from farm:

    --use this to get the service application ID

    $serviceapp = get-spserviceapplication | ? {$_.TypeName –like “*Project*”} $pwainstances = $serviceapp.Sitecollection $pwainstances

    --use the ID from above to be deleted $toberemoved = $pwainstances | ? {$_.Id –eq “<Id of the instance to delete>”} $toberemoved.Delete()

    after this it should be removed from central admin.

    hope this helps.

    Khurram Jamshed - MBA, PMP, MCTS, MCITP ( Blog, Twitter, Linkedin )
    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.

    Wednesday, May 7, 2014 9:52 AM