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.
Delete a User Profile Service application
Perform the following procedure to delete a User Profile Service application.
To delete a User Profile Service application
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.
On the Central Administration Web site, in the Application Management section, click Manage service applications.
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.
In the Operations group of the ribbon, click Delete.
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.
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