Skip to content

Get-NMMDeviceAppFailure

Gets failed app installations on a device.

Syntax

Get-NMMDeviceAppFailure
    -AccountId <Int32>
    -DeviceId <String>
    [<CommonParameters>]

Description

The Get-NMMDeviceAppFailure cmdlet retrieves applications that failed to install on an Intune-managed device.

Beta API

This cmdlet uses the v1-beta API.

Parameters

-AccountId

The NMM account ID.

Type Int32
Required True
Pipeline Input True (ByPropertyName)

-DeviceId

The Intune device ID.

Type String
Required True
Pipeline Input True (ByPropertyName)

Examples

Example 1: Get failed installations

Get-NMMDeviceAppFailure -AccountId 123 -DeviceId "device-abc-123"

Outputs

PSCustomObject[]

Property Type Description
appName String Application name
errorCode String Error code
errorMessage String Failure reason
attemptedOn DateTime Last attempt