Problem

So you made a mistake by trying to change the service application account for the User Profile Service Application. You try to change it back to your farm account but get an ugly error message saying:

An object of the type Microsoft.SharePoint.Administration.SPWindowsServiceCredentialDeploymentJobDefinition named “windows-service-credentials-FIMSynchronizationService” already exists under the parent Microsoft.Office.Server.Administration.ProfileSynchronizationService named “FIMSynchronizationService”.  Rename your object or delete the existing object.

Solution

This problem is quite easy to fix. As the error message clearly states, there is a job that has already been created when you tried to change the the credentials for the UPS service application previously. However, when the provisioning failed the job never ran (it is a one-time job). This job is responsible for updating credentials on all servers that are running the FIM service.

To fix this, you need to delete the job:

  1. Open Central Administration -> Monitoring -> Job Definitions.
  2. Browse to the last page
  3. Delete the job: Windows Service “FIMSynchronizationService” Credential Deployment
  4. Go back to Security -> Configure Service Accounts and reset your UPS service to your farm account.
  5. Now go back to the Job definitions page, you will see that a new job with the same name has been recreated.