Package Import Retrieval Generic Error

Microsoft.ApplicationVirtualization.5.Server.MP.PackageImport (UnitMonitor)

There was a problem retrieving the requested package for import.

Knowledge Base article:

Summary

A problem occurred when retrieving a requested package for import

Configuration

The monitor generates an alert when Event 217 is logged to Microsoft-AppV-Server-Management/Admin. The alert will resolve automatically after 60 seconds.

Causes

Management Service failed to retrieve the package manifest.

COM registration failed when Management Service attempted to make a call to appx libraries.

Resolutions

Consider re-sequencing the package that fails to import as package manifest may have been altered or otherwise corrupted.

If this error occur with other packages consider the rebooting or reinstalling the Management Service.

External

Please refer to http://go.microsoft.com/fwlink/?LinkId=277081 for more information on deploying and configuring the Management Server

Element properties:

TargetMicrosoft.ApplicationVirtualization.5.Server.MP.ManagementService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Package Import Retrieval Generic Error
If this alert persists for a specific package verify that the package manifest has not been altered or re-sequence package. If multiple alerts are propagating for different packages consider rebooting Management server or reinstalling Management Service.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ApplicationVirtualization.5.Server.MP.PackageImport" Accessibility="Public" Enabled="true" Target="Microsoft.ApplicationVirtualization.5.Server.MP.ManagementService" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.ApplicationVirtualization.5.Server.MP.PackageImport_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<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>Microsoft-AppV-Server-Management/Admin</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">217</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-AppV-Server-Management</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>60</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>