Home › Microsoft Intune › 0x87D101F4

Microsoft Intune · 0x87D101F4 · Windows 11 23H2

Intune App Deployment Error 0x87D101F4 on Windows 11 23H2

App deployment fails due to non-applicable rules or installer errors; fix by correcting detection and applicability rules in Intune.

Error Details

FactValueSourceNote
Exact error stringFAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLEIntuneManagementExtension.log-> Event ID 4000
Affected OS build rangeWindows 11 23H2Device properties in Intune admin center
Registry key involvedHKLM:\SOFTWARE\Microsoft\IntuneManagementExtension\Win32AppsRegistry Editor-> GuidId entry
Relevant service/endpoint URLhttps://graph.microsoft.com/v1.0/deviceManagement/reportsMicrosoft Graph API documentation
Log line signatureFailed to install app due to applicability rules or installer exit codeIntuneManagementExtension.log

Log Files to Check

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:

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

  1. Open C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log and 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.

  2. 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.

  3. Run Get-EventLog -LogName Application -Source 'Intune Management Extension' -Newest 20 in PowerShell to retrieve recent events related to Intune Management Extension. Look for Event ID 4000 which provides details about the app installation failure.

  4. 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.

  5. 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.

  6. If the installer is failing, manually test it on the device by running Set-ExecutionPolicy Bypass -Scope Process; .\install.ps1 from the Intune app's content directory to capture the raw exit code.

  7. Re-create the deployment with corrected applicability rules and detection paths. This can be done through Intune admin center > Apps > Windows > [app] > Properties.

  8. 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'.

Error Code Variants

CodeDescriptionDistinguishing Factors
0x87D101F4FAILED_TO_INSTALL_APPLICATION_NOT_APPLICABLEThe device does not meet the applicability rules or installer returned a non-zero exit code.
0x87D10205FAILED_TO_INSTALL_APPLICATION_ALREADY_EXISTSAn existing installation of the same application is detected on the device.
0x87D10216FAILED_TO_INSTALL_APPLICATION_INSUFFICIENT_DISK_SPACEThe 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 in C:\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.
Be cautious when manually testing install scripts on production devices as it may disrupt normal operations.
Use 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.
This guide provides a comprehensive approach for troubleshooting and resolving the 0x87D101F4 error in Microsoft Intune, ensuring that your managed devices remain operational and up-to-date with necessary applications.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.