Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When trying to delete a user profile service application I'm getting an error. It goes ahead and deletes the proxy, but then I get the following error without completing the delete: "The timer job completed, but failed on one or more machines in the farm." How can I force the delete.

share|improve this question
add comment

1 Answer

enter image description here

Delete a User Profile Service application

Perform the following procedure to delete a User Profile Service application.

To delete a User Profile Service application

  1. Verify that you have the following administrative credentials:

    • To use Central Administration to delete a User Profile Service application, you must be a member of the Farm Administrators group.
  2. On the Central Administration Web site, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, in the Type column, click the User Profile Service application that you want to delete to highlight the row.

  4. In the Operations group of the ribbon, click Delete.

  5. In the Delete Service Application dialog box, verify that you have selected the correct User Profile Service application to delete, select Delete data associated with the Service Applications to delete all data associated with the selected User Profile Service application, and then click OK.

Reference: Create, edit, or delete a User Profile service application (SharePoint Server 2010)

If this doesn't work, turn your head at PowerShell and runt the following command. Beware, you get no warning before the application is deleted:

$spapp = Get-SPServiceApplication -Name "User Profile service application" 
Remove-SPServiceApplication $spapp -RemoveData

Reference: Remove-SPServiceApplication

share|improve this answer
1  
The first is what I've been doing I'll try the other. Thank you. –  LoneWolfPR Jun 28 '13 at 13:23
    
The command you gave me returned an error so I used this one: Get-SPServiceApplication|Where-Object{$_.Name -eq "User Profile Service Application"}|Remove-SPServiceApplication -RemoveData This ran, but then I got the same error: Remove-SPServiceApplication : The timer job completed, but failed on one or mor e machines in the farm. –  LoneWolfPR Jun 28 '13 at 13:31
    
@LoneWolfPR Is your account member of the local Administrator Group of the servers your trying to change? –  Benny Skogberg Jun 28 '13 at 13:59
    
Yes. I've actually deleted and re-setup User Profile Service Applications in the past using this account. That's why I'm at a loss as to what is causing this now. –  LoneWolfPR Jun 28 '13 at 14:27
    
@LoneWolfPR Is there a synchronization going on, which hasn't stopped, and which may cause this problem. Msybe you need to kill and restart a service, to be able to delete the UPSA? –  Benny Skogberg Jun 28 '13 at 14:33
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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