Get-NMMDeviceAppFailure¶
Gets failed app installations on a device.
Syntax¶
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¶
Outputs¶
PSCustomObject[]
| Property | Type | Description |
|---|---|---|
| appName | String | Application name |
| errorCode | String | Error code |
| errorMessage | String | Failure reason |
| attemptedOn | DateTime | Last attempt |