User Profile Synchronisation Errors In SharePoint 2013

After doing a SharePoint update at the weekend, I found that I couldn’t get the User Profile Sync to restart. It looked like it was getting to a point then failing, so I started checking the Event Viewer, found some errors and then found this article from Richard Skinner.

During testing of SharePoint 2013 I experienced the Application Event Log errors below. When the errors occurred I was unable to run a User Profile Synchronisation with Active Directory.

Event ID 6398, category Timer

The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 0afab701-a201-4df9-bfc7-590838da8809) threw an exception. More information is included below. Generic Failure

Event ID 1004, category None

Detection of product ‘{90150000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’, component ‘{1C12B6E6-898C-4D58-9774-AAAFBDFE273C}’ failed. The resource ‘C:\Program Files\Microsoft Office Servers\15.0\Service\Microsoft.ResourceManagement.Service.exe’ does not exist.

Event ID 1001, category None

Detection of product ‘{90150000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’ failed during request for component ‘{1681AE41-ADA8-4B70-BC11-98A5A4EDD046}’

The resolution is to grant read access to the Network Service account to the “C:\Program Files\Microsoft Office Servers\15.0” folder

PowerShell

$Acl = (Get-Item "E:\Microsoft Office Servers\15.0").GetAccessControl('Access')
$Ar = New-Object system.security.accesscontrol.filesystemaccessrule("NT AUTHORITY\NETWORK SERVICE","Read, ReadAndExecute, ListDirectory", "ContainerInherit, ObjectInherit", "None", "Allow")
$Acl.AddAccessRule($Ar)
Set-Acl "E:\Microsoft Office Servers\15.0" $Acl
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s