An unexpected error occurred when trying to synchronize the presence policies. This will be retried

OCS_User_Services_32087_SE (Rule)

An unexpected error occurred when trying to synchronize the presence policies. This will be retried, but if this error continues to occur, the Office Communications Server service will need to be restarted.

Knowledge Base article:

Summary

An unexpected error occurred when trying to synchronize the presence policies. This will be retried, but if this error continues to occur, the Office Communications Server service will need to be restarted.

Causes

Server is low on resources.

Resolutions

Ensure that the server meets minimum hardware requirements and is not overloaded.

Element properties:

TargetMicrosoft_Office_Communications_Server_2007_R2_Standard_Edition
CategoryEventCollection
EnabledTrue
Event_ID32087
Event SourceOCS User Services
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
An unexpected error occurred when trying to synchronize the presence policies. This will be retried, but if this error continues to occur, the Office Communications Server service will need to be restarted.
{0}
Event LogOffice Communications Server

Member Modules:

ID Module Type TypeId RunAs 
CollectEvent DataSource Microsoft.Windows.EventProvider Default
WriteAlert WriteAction System.Health.GenerateAlert Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="OCS_User_Services_32087_SE" Enabled="true" Target="Microsoft_Office_Communications_Server_2007_R2_Standard_Edition" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="CollectEvent" TypeID="SCWindowsLibrary!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="SCWindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Office Communications Server</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OCS User Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">32087</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCSystemLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteAlert" TypeID="SCHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="An_unexpected_error_occurred_when_trying_to_synchronize_the_presence_policies__This_will_be_retried__but_if_this_error_continues_to_occur__the_Office_Communications_Server_service_will_need_to_be_restarted_"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
</Suppression>
</WriteAction>
<WriteAction ID="WriteToDW" TypeID="SCDataWarehouseLibrary!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>