Error Details
| Fact | Value | Source | Note |
|---|---|---|---|
| Exact error string | FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE | IntuneManagementExtension.log | -> Event ID 4000 |
| Affected OS build range | Windows 11 23H2 | Device properties in Intune admin center | |
| Registry key involved | HKLM:\SOFTWARE\Microsoft\IntuneManagementExtension\Win32Apps | Registry Editor | -> GuidId entry |
| Relevant service/endpoint URL | https://graph.microsoft.com/v1.0/deviceManagement/reports | Microsoft Graph API documentation | |
| Log line signature | Failed to install app due to applicability rules or installer exit code | IntuneManagementExtension.log |
Log Files to Check
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.logApplication event log
What This Error Actually Means
The error code 0x87D101F4, which translates to "FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE" within the Intune Management Extension (IME), indicates that a Microsoft Intune-managed app deployment has failed on a device. The IME is responsible for enforcing applicability rules and executing installation scripts based on these rules. When an application fails to install due to non-compliance with these rules or if the installer itself returns a non-zero exit code, this error occurs. It signifies that either the Intune Management Extension determined the device does not meet the conditions specified in the app's requirements (such as OS version, architecture, and disk space), or the installation process encountered an issue preventing it from completing successfully.Affected Versions and Scope
This error is specific to devices running Windows 11 build 23H2. It impacts both Win32 apps and Line-of-Business (LOB) applications managed through Microsoft Intune. The affected scope includes any device enrolled in an environment where these types of applications are deployed via Intune's management capabilities. Notably, this error does not affect older Windows versions or other operating systems like macOS or iOS.Where To Look First: Logs and Event IDs
To diagnose the issue causing 0x87D101F4, you should first examine two primary sources of information:C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log- This log file contains detailed entries about app installations and their outcomes. Look for lines containing the exact error string "FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE" alongside the specific application's display name.Application event log- Use PowerShell to retrieve recent events related to Intune Management Extension by runningGet-EventLog -LogName Application -Source 'Intune Management Extension' -Newest 20. Event ID 4000 specifically indicates an app installation failure and provides the Win32AppId along with the installer's exit code.
Root Causes
Incorrect Detection Rules
One common cause of this error is a misconfigured detection rule within the application settings in Intune. This can occur if the detection rule points to a non-existent registry key or file path, leading to the app being marked as "Not applicable" on the device.Installer Issues
Another frequent reason for 0x87D101F4 is that the installer itself encounters errors during execution. This could be due to issues with the installation script or incorrect permissions required by the installer.Inadequate Device Requirements
The device might not meet the minimum requirements specified in the application's deployment settings within Intune, such as OS version, architecture type, or disk space availability.Fix Procedure
Open
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.logand search for the exact error string "FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE" along with the application's display name. Note down any installer exit codes mentioned in these logs.Navigate to Intune admin center > Devices > All devices > [device], then click on App install status and review the failure reason alongside the detected app version.
Run
Get-EventLog -LogName Application -Source 'Intune Management Extension' -Newest 20in PowerShell to retrieve recent events related to Intune Management Extension. Look for Event ID 4000 which provides details about the app installation failure.In Intune admin center > Apps > Windows > [app], check the Detection rules under Properties to ensure they correctly point to existing registry keys or file paths on the device. If necessary, update these detection rules.
To verify applicability rules and requirements for the app, go to Intune admin center > Apps > Windows > [app] > Properties > Requirements. Ensure that OS architecture, minimum OS version, and disk space requirements are correctly set.
If the installer is failing, manually test it on the device by running
Set-ExecutionPolicy Bypass -Scope Process; .\install.ps1from the Intune app's content directory to capture the raw exit code.Re-create the deployment with corrected applicability rules and detection paths. This can be done through Intune admin center > Apps > Windows > [app] > Properties.
To force a sync on the device, use one of two methods:
- Run
Invoke-MgDeviceSyncManagedDevice -ManagedDeviceId [deviceId]in Microsoft Graph PowerShell. - Alternatively, start an elevated PowerShell session and execute
Start-Process 'C:\Program Files (x86)\Microsoft Intune Management Extension\Microsoft.Management.Services.IntuneWindowsAgent.exe' -ArgumentList '/retry'.
- Run
Error Code Variants
| Code | Description | Distinguishing Factors |
|---|---|---|
| 0x87D101F4 | FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE | The device does not meet the applicability rules or installer returned a non-zero exit code. |
| 0x87D10205 | FAILED_TO_INSTALL_APPLICATION_ALREADY_EXISTS | An existing installation of the same application is detected on the device. |
| 0x87D10216 | FAILED_TO_INSTALL_APPLICATION_INSUFFICIENT_DISK_SPACE | The device lacks sufficient disk space to install the application. |
Verification
After applying fixes, verify that the issue has been resolved by checking for a successful installation status in Intune admin center > Devices > All devices > [device]. Additionally, look for log entries indicating a successful install attempt inC:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log.
Prevention
To prevent this error from recurring, ensure that all detection rules and applicability requirements are correctly configured before deploying applications. Regularly review these settings to account for any changes in the environment or application updates.Get-EventLog -LogName Application -Source 'Intune Management Extension' -Newest 20 | Where-Object {$_.Message -like "*FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLE*"} to quickly filter relevant events from the application log.