Office Communications Server Archiving Agent failed to initialize MSMQ encryption resources in orde

OCS_Archiving_Agent_30520_SE (Rule)

Office Communications Server Archiving Agent failed to initialize MSMQ encryption resources in order to encrypt messages sent to the Archiving Service. Because the Archiving Agent is currently configured for best-effort encryption, the Archiving Agent will send messages to the Archiving Service message queue without encryption.

Knowledge Base article:

Summary

Office Communications Server Archiving Agent failed to initialize MSMQ encryption resources in order to encrypt messages sent to the Archiving Service. Because the Archiving Agent is currently configured for best-effort encryption, the Archiving Agent will send messages to the Archiving Service message queue without encryption.

Causes

Initialization of MSMQ encryption can fail for several reasons including: MSMQ is not setup for Active Directory mode, computer is in workgroup mode, public key for the destination queue from Active Directory cannot be retrieved, MSMQ service is not available.

Resolutions

If you require encryption, you should re-configure the archiving agent to require encryption using the administrative snap-in and fix any of the relevant MSMQ encryption issues listed above.

Element properties:

TargetMicrosoft_Office_Communications_Server_2007_Standard_Edition
CategoryEventCollection
EnabledFalse
Event_ID30520
Event SourceOCS Archiving Agent
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Office Communications Server Archiving Agent failed to initialize MSMQ encryption resources in order to encrypt messages sent to the Archiving Service. Because the Archiving Agent is currently configured for best-effort encryption, the Archiving Agent wil
{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_Archiving_Agent_30520_SE" Enabled="false" Target="Microsoft_Office_Communications_Server_2007_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 Archiving Agent</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">30520</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="Office_Communications_Server_Archiving_Agent_failed_to_initialize_MSMQ_encryption_resources_in_order_to_encrypt_messages_sent_to_the_Archiving_Service__Because_the_Archiving_Agent_is_currently_configured_for_best_effort_encryption__the_Archiving_Agent_wil"]$</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>