Fix Intune Win32 App Deployment Error 0x87D1041C

fix Intune Win32 App Deployment Error 0x87D1041C

In this post, we will go over the steps to resolve Intune Win32 app deployment error 0x87D1041C. The error 0x87D1041C is seen when the Win32 app installs correctly on the device but is not detected by the company portal app.

One of the customers reported an issue with the deployment of Win32 apps in Intune. Users installed a newly packaged Win32 app, but they noticed something strange. The application was successfully installed, but the company portal indicated that it was not installed, resulting in error code 0x87D1041C.

The Win32 application in the previous query was a business app used exclusively within the company. After I fixed the error 0x87D1041C, I recreated it in my lab using an instance of the Adobe Reader Win32 program. In your case, it could be another application, however the resolution covered in this post will work. See how to package and deploy Win32 apps in Intune.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC

Also Read: Fix: MDM Logs Collection Error 0x800700a1 | Windows Autopilot

Fix Intune Win32 App Deployment Error 0x87D1041C

The error 0x87D1041C appears during the Win32 app deployment and translates to “The application was not detected after installation completed successfully.” The Intune Win32 App deployment error 0x87D1041C can be resolved by correcting the detection method under application properties.

The screenshot below shows the user has launched the company portal app and the application installation is in progress. The application is being downloaded and installed on the device.

Installing Application from Intune Company Portal
Installing Application from Intune Company Portal

After a few minutes, on our Windows device, we see a notification from Microsoft Intune Management Extension indicating that the application failed to install. The Intune Management Extension does not display any error code or the reason why the application failed to install in this case.

Microsoft Intune Management Extension Notifications
Microsoft Intune Management Extension Notifications

The company portal fails to detect the installed Win32 app, whereas the application is installed on the device. This is confusing because the user attempts to reinstall the application because the company portal shows the Win32 app is available for install. One should understand that in this case, the company portal is failing to detect the installed application.

Intune Win32 App Deployment Error 0x87D1041C
Intune Win32 App Deployment Error 0x87D1041C

In the Intune admin center, the admins can view the installation status of Win32 apps by selecting the deployed app. In this case, the Adobe Acrobat Reader application reported error on several devices. Under the Device Install status, let’s select a device encountering this issue. Under the status details column, we see the following error details “The application was not detected after installation completed successfully (0x87D1041C)“.

The application was not detected after installation completed successfully (0x87D1041C)
The application was not detected after installation completed successfully (0x87D1041C)

When you encounter Intune Win32 app deployment error 0x87D1041C, you begin troubleshooting by inspecting the endpoint logs. Logs, whether in Configuration Manager or Intune, are the starting point for troubleshooting. To collect logs from Windows devices, Intune offers “Collect Diagnostics” option, using which you can collect the logs from remote devices. Without needing to contact the user, you can collect the logs from the Windows Device.

Viewing the logs located under C:\ProgramData\Microsoft\IntuneManagementExtension\Logs on window device revealed the following errors.

[Win32App] ProcessDetectionRules starts	IntuneManagementExtension
[Win32App] ProcessDetectionRules Parsing InstallEx...	IntuneManagementExtension
[Win32App] DetectionType 1	IntuneManagementExtension
[Win32App] Start detectionManager SideCarProductCodeDetectionManager	IntuneManagementExtension
CheckProductCodeExists fails with product code {AC76BA86-7AD7-1033-7B44-AC0F074E4100}'}, errorCode = 87, try without brace
CheckProductCodeExists fails with product code AC76BA86-7AD7-1033-7B44-AC0F074E4100}', errorCode = 87	IntuneManagementExtension
[Win32App] Checked ProductCode {AC76BA86-7AD7-1033-7B44-AC0F074E4100}', Cannot find, applicationDetected: False	IntuneManagementExtension
[Win32App] detectionManager SideCarProductCodeDetectionManager got applicationDetectedByCurrentRule: False as system	IntuneManagementExtension
[Win32App] Completed detectionManager SideCarProductCodeDetectionManager, applicationDetectedByCurrentRule: False	IntuneManagementExtension
[Win32App][DetectionActionHandler] Detection for policy with id: 6c46ffc4-d6c1-4132-a1fe-519719491a41 resulted in action status: Success and detection state: NotDetected.

The following two lines explain why you get error code 0x87D1041C when deploying a Win32 application. The application installs successfully, but the app detection fails due to a typo in the detection method. The error code 87 indicates that the detection parameter is incorrect.

CheckProductCodeExists fails with product code {AC76BA86-7AD7-1033-7B44-AC0F074E4100}'}, errorCode = 87, try without brace CheckProductCodeExists fails with product code AC76BA86-7AD7-1033-7B44-AC0F074E4100}', errorCode = 87
Intune Win32 App Deployment Error 0x87D1041C
Intune Win32 App Deployment Error 0x87D1041C

To resolve the Intune Win32 app deployment error 0x87D1041C, you have to correct the detection method defined for the app. In the Intune admin center, navigate to Apps > Windows Apps > Select the app. Under Manage, select Properties and on the right-hand side, locate Detection Rules. To edit the detection method, select Edit and here you can correct the detection method. In case you have used a custom detection script, you must review the script and correct it.

Fix Intune Win32 App Deployment Error 0x87D1041C
Fix Intune Win32 App Deployment Error 0x87D1041C
Need more help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.