none
Unable to delete Service Applications(Search and USPA) in sharepoint 2016 RRS feed

  • Question

  • Hi ,

     I am unable to delete Search service and user profile service applications. I have already deleted Associated databases of search service to brutally delete the service (it was no recommended but due to be frustrated not able to delete service application from front end). I am also facing problem to delete User Profile. Deletion of service applications is taking so much time and ultimately goes time out. I tried from both UI as well power shell . Please help on this issue.

    Tuesday, December 3, 2019 10:38 AM

All replies

  • Hi Madhukar, 

    Try the following steps using PowerShell to remove the search service application:

    1. Get-SPServiceApplication
    2. Identify the GUID for the search service application and take a copy of it.
    3. $SSA = Get-SPServiceApplication -identity "GUIDRetrievedAbove"
    4. Remove-SPServiceApplication $SSA

    If that doesn't work, try the following instead:

    1. $SSA = Get-SPEnterpriseSearchServiceApplication -id "GUIDRetrievedAbove"
    2. $SSA.Unprovision(1)

    If that doesn't work, you can replace the last line above with

    $SSA.Delete()

    Reference:

    https://blog.bugrapostaci.com/2012/05/02/unable-to-delete-search-service-application-ssa-in-sharepoint-2010/

    If the issue still exists,  check the ULS log to further troubleshoot the issue. 

    For SharePoint 2016, the path of the ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS.

    Best Regards, 

    Lisa Chen 



    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Wednesday, December 4, 2019 2:56 AM
    Moderator
  • Hi Madhukar, 

    If a reply helps you, please remember to mark it as an answer.

    Thanks for your understanding. 

    Best Regards, 

    Lisa Chen 


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.


    Friday, December 6, 2019 1:31 AM
    Moderator