Deploying Win32 apps via Microsoft Intune is a powerful way to manage software across enterprise environments. However, deployment failures can occur, frustrating administrators and disrupting workflows. One common error is 0x87d30067, which indicates issues with application installation or detection. This guide provides a clear, step-by-step process to troubleshoot and fix this specific error, ensuring your Win32 apps deploy smoothly and reliably. Before starting, ensure you have administrative access to the Microsoft Endpoint Manager admin center and the necessary permissions to modify app deployment settings.
What You’ll Need
- Access to Microsoft Endpoint Manager admin center
- The Win32 app package (.intunewin file) ready for deployment
- Administrator privileges on the target devices (for testing)
- Basic understanding of PowerShell scripts (optional but helpful)
- Network connectivity to the target devices and Intune environment
Step-by-Step
- Identify the Error Context: Start by reviewing the deployment status in the Endpoint Manager. Go to Apps > All Apps, select the problematic app, and check the deployment status. Look for error details, especially the error code 0x87d30067, which relates to detection or installation issues.
- Verify Application Package and Detection Logic: Check the app’s detection rules. Errors often occur if Intune cannot accurately detect whether the app is installed. Ensure that your detection rules are correct—preferably use a PowerShell script or registry key that reliably indicates installation.
- Test the Application Manually: On a test device, attempt to install the app manually using the same installer and command line as configured in Intune. Confirm the installation completes successfully and that detection logic correctly identifies the app as installed.
- Update Detection Rules: If manual testing reveals detection issues, modify the detection logic in the Intune app configuration. For example, if you used a registry key, verify its existence and correct value post-installation. Use PowerShell scripts to check for files, registry keys, or processes that confirm installation.
- Modify the Deployment Settings: In the Intune portal, update the app’s detection rules with the corrected logic. Save changes and redeploy the app to a test group to verify if the error persists.
- Check the Installer Command Line and Dependencies: Ensure that the installer command line in Intune is correct and that all dependencies are met. Sometimes, silent install switches or missing prerequisites cause failures. Test the installer outside of Intune with the same parameters.
- Review Device and Network Conditions: Confirm that target devices have network access, sufficient disk space, and the necessary permissions. Sometimes, network issues or security policies block installation or detection scripts.
- Use Logs for Deeper Diagnosis: Collect logs from the client device. Use the Intune Management Extension logs located at
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs. Look for errors related to detection or execution policies. These logs can provide detailed clues about the failure. - Apply Fixes and Redeploy: After correcting detection logic, installer commands, or addressing environment issues, redeploy the app. Monitor deployment status to see if the error is resolved.
- Repeat Testing and Validation: Confirm that the app installs successfully on test devices and that detection is accurate. Once verified, roll out to broader device groups.
Common Mistakes
- Using unreliable detection logic, such as checking for files that may be deleted or registry keys that vary between versions.
- Forgetting to include silent install parameters, leading to manual prompts or errors during automated deployment.
- Not testing the installer manually before deploying via Intune, which can hide potential issues.
- Ignoring device prerequisites or network issues that prevent successful installation or detection.
- Overlooking the importance of log analysis for identifying root causes.
Tips
- Use PowerShell scripts for detection to increase reliability, especially if registry or file checks are inconsistent.
- Always test deployment on a small group of devices before broad rollout.
- Keep installer commands and detection logic version-specific to avoid false positives or negatives.
- Leverage Intune troubleshooting tools and logs regularly to monitor deployment health.
- Document your deployment configurations for easier troubleshooting and future updates.
Troubleshooting
If your deployment continues to fail with error 0x87d30067 after following the steps above, consider these additional troubleshooting actions:
- Check for Compatibility Issues: Ensure the app is compatible with the target devices’ OS versions and architecture.
- Validate Network and Firewall Settings: Confirm that necessary ports and URLs are accessible. Sometimes, firewalls block communication with Microsoft endpoints.
- Use the Troubleshooting Portal: Microsoft Endpoint Manager offers troubleshooting tools that can help identify issues with specific devices or users.
- Review Windows Event Logs: On client devices, check Event Viewer under Application and System logs for related errors.
- Recreate the App Package: If corruption or misconfiguration is suspected, recreate the .intunewin package from scratch.
- Contact Support: When all else fails, open a support ticket with Microsoft, providing detailed logs and deployment details for expert assistance.
Frequently Asked Questions
1. What does error 0x87d30067 mean in Intune?
This error indicates a problem with application detection or installation, often caused by incorrect detection rules or installer issues.
2. How can I verify if my detection rules are correct?
Test detection logic manually on a device by running the same commands or scripts used in Intune. Ensure they accurately identify the installed app.
3. Is it necessary to recreate the Win32 app package?
Not always. Usually, fixing detection logic and installer parameters suffices. Recreate the package only if corruption or packaging issues are suspected.
4. How do I collect logs to troubleshoot deployment errors?
Gather logs from the Intune Management Extension folder at C:\ProgramData\Microsoft\IntuneManagementExtension\Logs. Use these logs to analyze detailed error messages.
5. Can network issues cause deployment failures?
Yes, if devices cannot reach necessary Microsoft endpoints or the installer files, deployment can fail. Verify network connectivity and firewall settings.
6. What are best practices to prevent future deployment errors?
Test installers thoroughly, use reliable detection logic, document configurations, monitor deployment health regularly, and keep devices updated.
By following this comprehensive guide, you can effectively troubleshoot and resolve error 0x87d30067 in Intune Win32 app deployments, ensuring your enterprise applications are delivered seamlessly across your organization.