Role sync: SharePoint and SAP profile stores could not be synchronized

Microsoft.SharePoint.DuetE.RoleSync.ValidationFailed (UnitMonitor)

Summary
The Duet Enterprise Profile Synchronization Timer Job synchronizes user profiles in the SharePoint User Profile Store with SAP Roles over a Business Data Connectivity service connector. This synchronization process stores the SAP roles for each Duet Enterprise user in the SharePoint User Profile Store. The BDC models provided with Duet Enterprise for Microsoft SharePoint and SAP contain the connectivity information and authentication properties for the SAP system. The SAP roles could not be synchronized with the user profiles in SharePoint Server.

Symptoms
This event appears in the event log:
Event ID: 5010 Description: The Role Sync basic validation failed. The exception message is <message>.

Cause
Run DuetConfig with the /CheckConfiguration option to learn about the cause of the error and the recommended resolution.

Resolution
Run DuetConfig
1.Log in to a front-end Web server as a member of the Farm Administrators group.
Tip:
You only have to perform this procedure on one front-end Web server.
2.Open a command prompt as administrator:
Click Start, click All Programs, and then click Accessories.
Right-click Command Prompt and then click Run as administrator.
3.In the Command Prompt window, go to the folder that contains the DuetConfig.exe file. By default, this is the C:\program files\Duet Enterprise\1.0\ folder.
4.Type DuetConfig/CheckConfiguration out checkconfig.xml and then press ENTER.
5.At the command prompt type notepad checkconfig.xml to open the .xml file in Notepad.
You can also choose to open the test.xml file directly in a browser (C:\Program Files\Duet Enterprise\1.0\test.xml).
6.Follow the recommendations in the report to resolve the problem.

Knowledge Base article:

Summary

The Duet Enterprise Profile Synchronization Timer Job synchronizes user profiles in the SharePoint User Profile Store with SAP Roles over a Business Data Connectivity service connector. This synchronization process stores the SAP roles for each Duet Enterprise user in the SharePoint User Profile Store. The BDC models provided with Duet Enterprise for Microsoft SharePoint and SAP contain the connectivity information and authentication properties for the SAP system. The SAP roles could not be synchronized with the user profiles in SharePoint Server.

External

http://technet.microsoft.com/en-us/library/gg385209.aspx

Element properties:

TargetMicrosoft.SharePoint.DuetE.ServerSeed
Parent MonitorMicrosoft.SharePoint.DuetE.RoleSyncServerMonitor
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SharePoint.DuetE.RoleSync.ValidationFailed" Accessibility="Public" Enabled="true" Target="Microsoft.SharePoint.DuetE.ServerSeed" ParentMonitorID="Microsoft.SharePoint.DuetE.RoleSyncServerMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Duet Enterprise</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>14400</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>