Azure Site Recovery Disable Protection failed

Microsoft.SystemCenter.VirtualMachineManager.SiteRecoveryProvider.DisableDrHardFailure (Rule)

This alert indicates that Disable Protection job was triggered on a virtual machine and failed to complete successfully. The corresponding virtual machine is in protected state.

Knowledge Base article:

Summary

This alert indicates that Disable protection job was triggered on a Virtual Machine and failed to complete successfully. The corresponding virtual machine is now in an protected state

Causes

Disable Protection job could have failed due to a variety of reasons. Please refer to the Alert description to understand the exact cause.

Resolutions

Ensure the Error specified in the Alert description is resolved.

Restart the Disable protection job either from the Azure Management Portal or from the VMM Console.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.SiteRecoveryProvider
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
Azure Site Recovery Disable Protection failed
Disable Protection job was triggered on Virtual Machine {0} and failed to complete successfully. The virtual machine {1} is now in protected state.

Azure Site Recovery's Disable Protection job has failed with the following error(s).

Error Message : {2}
StartTime-EndTime : {3}
JobID : {4}
Source Server : {5}
Target Server : {6}
WorkflowName : {7}
Event LogMicrosoft-VirtualMachineManager-Server/Operational

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.VirtualMachineManager.SiteRecoveryProvider.DisableDrHardFailure" Enabled="true" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.SiteRecoveryProvider" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Microsoft-VirtualMachineManager-Server/Operational</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-VirtualMachineManager-AzureSiteRecoveryProvider</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DisableDr</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.SiteRecoveryProvider.DisableDrHardFailure.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[2]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Data/Params/Param[7]$</AlertParameter3>
<AlertParameter4>$Data/Params/Param[3]$</AlertParameter4>
<AlertParameter5>$Data/Params/Param[4]$</AlertParameter5>
<AlertParameter6>$Data/Params/Param[5]$</AlertParameter6>
<AlertParameter7>$Data/Params/Param[6]$</AlertParameter7>
<AlertParameter8>$Data/Params/Param[1]$</AlertParameter8>
</AlertParameters>
<Suppression/>
<Custom1>$Data/Params/Param[1]$</Custom1>
<Custom2>$Data/Params/Param[5]$</Custom2>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>