Workflow: Cannot resolve account to activate SAP workflow

Microsoft.SharePoint.DuetE.CannotAddCurrentUserToTrustedGroup (UnitMonitor)

Summary
When an SAP Workflow is configured, a specified user account (service account) is used for all workflow transactions between SharePoint Server 2010 and the SAP environment. The SAP system uses this account to send workflow tasks to the computer running SharePoint Server. This user account will also be added as a member of the SAP Workflow Trusted Users group on the workflow site.

Symptoms
The following symptoms might appear:
Activation of the Duet Enterprise workflow feature failed.

This event appears in the event log:

Event ID: 3010 Description: Cannot add the configured service account user to the group <SAP Workflow Trusted Users>.

Cause
The service account that was specified for the SAP workflow cannot be resolved on the Web application where the SAP workflow is being activated.

Resolution
Specify the service account for workflowFollow the instructions in Configure SAP Workflows (http://go.microsoft.com/fwlink/?LinkId=205816) to specify the user service account that will be used for all workflow transactions between SharePoint Server and the SAP system.

Knowledge Base article:

Summary

When an SAP Workflow is configured, a specified user account (service account) is used for all workflow transactions between SharePoint Server 2010 and the SAP environment. The SAP system uses this account to send workflow tasks to the computer running SharePoint Server. This user account will also be added as a member of the SAP Workflow Trusted Users group on the workflow site.

External

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

Element properties:

TargetMicrosoft.SharePoint.DuetE.ServerSeed
Parent MonitorMicrosoft.SharePoint.DuetE.Workflow.WorkflowServerMonitor
CategoryConfigurationHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SharePoint.DuetE.CannotAddCurrentUserToTrustedGroup" Accessibility="Public" Enabled="true" Target="Microsoft.SharePoint.DuetE.ServerSeed" ParentMonitorID="Microsoft.SharePoint.DuetE.Workflow.WorkflowServerMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</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">3010</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>3600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>