I'm trying to delete user profile application service but error occur.And now it stuck with "processing". I already restart the VM several times but it still no response.

enter image description here

I tried delete it using powershell but its say object not found.

enter image description here

Is it related to my MSSQL db?should i delete mSSQL db manually?

3 Answers 3


From the error “Get-SPServiceApplication: Object not found”, it seems that the “User Profile Service” is already deleted.

Try to clear the SharePoint configuration cache and run a IISReset, then check again.

Check the steps in the article User profile service application (Deletion or stuck on stopping)

  • Im using sharepoint 2016 and the farm is in production. Is it ok for me to clear all the sharepoint configuration cache on live production farm?
    – blogmohdr
    Dec 20, 2018 at 2:24
  • It will not impact the performance of SharePoint. I recommend you doing this during off hours. Dec 20, 2018 at 2:57
  • LIke the suggestion,i clear the configuration cache on the server.do i need to clear all server configuration cache in the farm?
    – blogmohdr
    Dec 24, 2018 at 2:34

You can try to delete it by using PowerShell, Supporting Microsoft documentation

First, open SharePoint Management Shell as administrator then type below commands:

$spapp = Get-SPServiceApplication -Name "User Profile Service"

Remove-SPServiceApplication $spapp -RemoveData

You might face some permission issue, so better go thru the supporting documentation by Microsoft first. (above link provided) then perform these above steps.

  • I tried the idea but its say "object not found".Maybe its already deleted.Do i need to clean the sharepoint configuration cache also?
    – blogmohdr
    Dec 20, 2018 at 2:19
  • After reboot, does the error still appears? Dec 20, 2018 at 3:52
  • Its still appear.I also clear the sharepoint configuration cache on the server.Do i need to clear all configuration cache in my farm?
    – blogmohdr
    Dec 24, 2018 at 2:23
  • did you try to reconfigure the service thru configuration wizard? it might overwrite the existing user profile service, then you can remove it manually or by command. I am not sure about clearing farm configuration cache. Dec 24, 2018 at 3:36
  1. After checking every server in my sharepoint farm, i found an instance in one of the server service status stuck at "stopping",when other server status is "stopped".Thats why it keep showing 'processing'.
  2. Run the sharepoint products configuration wizard on that server to detach it from farm.
  3. Delete old User Profile Service and create new User Profile Service.
  4. Run the sharepoint products configuration wizard again to attach the server it from farm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.