Event ID 6801 FIMSynchronizationService |
Looking at the configuration of the service itself, there didn't appear to be any problems. The sync would run, but it would generate errors for every user it processed. It turns out the problem is with the proxy for the user profile service application. The proxy basically associates the User Profile Service Application to the Web application through membership in the a service application connection group. In most environments, this is the default group.
User Profile Service Application Proxy |
The solution is to simply re-create the proxy using the following steps:
1. Delete the existing User Profile Service Application proxy using the following script. The name may be different in your farm, but you can verify by running Get-SPServiceApplication.
Note: If you've messed around with the service application associations and don't remember if you're still using the default group, go to Central Admin - Application Management - Service Applications and click on Configure service application associations. In the default config, it should look like this:
Service Application Associations |
$proxy = Get-SPServiceApplicationProxy | where {$_.typename -eq "User Profile Service Application Proxy"} Remove-SPServiceApplicationProxy -Identity $proxy -confirm:$false2. Create a new User Profile Service Application Proxy using the following script and associate it with the default group:
$upa = Get-SPServiceApplication -Name "User Profile Service Application"
New-SPProfileServiceApplicationProxy -Name "User Profile Service Application Proxy" -ServiceApplication $upa -DefaultProxyGroup3. Do an iisreset from the command prompt, then run a profile sync and check the errors are no longer being generated.
For other User Profile Synchronization issues we've looked at see:
http://imperfectit.blogspot.ca/2011/10/sharepoint-2010-user-profile.html
http://imperfectit.blogspot.ca/2010/03/setting-up-sharepoint-2010-user-profile.html
http://imperfectit.blogspot.ca/2011/03/sharepoint-2010-december-cumulative.html