In this blog post, I will show you the steps to fix below error while deploying a Windows app (Win32) using Microsoft Intune.
The application was not detected after installation completed successfully (0x87D1041C).

This error is generally caused by an incorrect detection rule specified during the creation of the Win32 application deployment on Intune. As you’re aware, the purpose of the detection rule is to identify the application’s presence. If the detection rule isn’t configured correctly, it may fail to detect the application despite it being installed correctly.
For example, I deployed an app called Notepad++, which was deployed successfully, but I still received the error as shown above.

Contents
Fix Intune Error Code 0x87D1041C
As we already learned, the most common cause of this error is that Intune is unable to detect the application using the configured detection rule for the Win32 app. Therefore, the first step is to review the detection rule configured for the application and ensure it accurately detects the installed app.
Example of a misconfigured rule
Below is an example of a misconfigured detection rule for the Notepad++ application. The detection rule shown in the screenshot was unable to detect the installed application after deployment. As a result, even though Notepad++ was installed successfully, Intune was unable to verify the installation and incorrectly reported the deployment as failed.

Update Detection Rule
To resolve this error, I updated the Win32 app detection rule for Notepad ++ app. Instead of using the existing registry-based detection rule, I configured a file-based detection rule that checks for the presence of Notepad++.exe in C:\Program Files\Notepad++. If the file is found, Intune confirms that the application is installed successfully and reports the deployment as successful, preventing unnecessary reinstallation attempts.
It is important to note that this change does not mean that file-based detection is better than registry-based detection. The issue was simply that the original registry detection rule was unable to correctly identify the installed application. Both detection methods are valid when configured correctly.
The key consideration is not the type of detection rule you choose but whether it can accurately detect the presence of the deployed application after installation. The screenshot below shows the updated file-based detection rule configured for the Notepad++ Win32 application.

More Information
If you would like to investigate this error in more detail, the following sections of this blog post provide additional troubleshooting steps and insights to help identify the root cause.
applicationDetected: False
Although error code 0x87D1041C clearly indicates the cause of the issue, you can gather additional troubleshooting information by reviewing the IntuneManagementExtension.log file on one of the affected devices.
In the log, you will typically find an entry similar to applicationDetected: False, which indicates that Intune was unable to detect the application using the configured detection rule, even if the application was installed successfully.

Below is an excerpt from the Intune Management Extension log file for this application deployment. The log shows that the configured detection rule is unable to detect the application after installation. As a result, Intune incorrectly reports the application deployment as failed, even though the application may have been installed successfully.
[Win32App][DetectionActionHandler] Handler invoked for 1 app detections. IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App][DetectionActionHandler] Detection running for policy with id: 19de19a9-71a2-462a-942f-86aaec859ea1. IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] ProcessDetectionRules starts IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] ProcessDetectionRules Parsing InstallEx… IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] DetectionType 0 IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] Start detectionManager SideCarRegistryDetectionManager IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] To check Exist, Path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++\”C:\Program Files\Notepad++\uninstall.exe, valueName: applicationDetected: False IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] Checked reg path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++\”C:\Program Files\Notepad++\uninstall.exe, name: , operator: 0, type: 1, value: , result of applicationDetected: False IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] detectionManager SideCarRegistryDetectionManager got applicationDetectedByCurrentRule: False as system IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App] Completed detectionManager SideCarRegistryDetectionManager, applicationDetectedByCurrentRule: False IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005) [Win32App][DetectionActionHandler] Detection for policy with id: 19de19a9-71a2-462a-942f-86aaec859ea1 resulted in action status: Success and detection state: NotDetected. IntuneManagementExtension 07/07/2023 09:33:53 5 (0x0005).
Excerpt from IntuneManagementExtension.log
To view the Intune Management Extension log file, follow these steps:
- On the target device, navigate to C:\ProgramData\Microsoft\IntuneManagementExtension\Logs.
- Open the latest IntuneManagementExtension.log file.
- For the best viewing experience, use CMTrace, which makes it easier to read, filter, and search the log entries.
Conclusion
As demonstrated in this blog post, resolving Intune error 0x87D1041C is often straightforward once you identify the root cause. In most cases, the error occurs because the configured Win32 app detection rule is unable to detect the installed application.
Intune supports several detection methods, including MSI, File, and Registry detection. None of these methods are inherently better than the others—the key is choosing a detection rule that can accurately identify the application after installation. A correctly configured detection rule ensures that Intune verifies the installation successfully and reports the deployment status correctly.

Couldn’t detect app because it was manually updated after installation or uninstalled by the user.while deployin mozilla firefox 50.1.0 rxe
Thank you for this detailed post! I was troubleshooting the Intune error 0x87D1041C for days, and your insights about checking the application assignments really helped narrow down the issue. Keep up the great work!