Skip to main content

Error 0x87D13B66: Managed App Expired or Removed

Error Message

The app is managed, but has expired or been removed by the user.

Error Details

PropertyValue
Error Code (Hex)0x87D13B66
Error Code (Dec)-2016330906

Description

info

This error occurs when a managed app is no longer present on the device due to user uninstallation, app expiration, failed download, or app detection mismatch. The error may also manifest due to a known platform bug in iOS/iPadOS 9.2.2.

Common Causes

👤 User Actions

User interactions can significantly impact managed app states in various ways. Manual app uninstallation occurs when users remove apps without following proper organizational procedures. App data clearance through device settings can disrupt management configurations and states. Users may inadvertently or intentionally revoke necessary app permissions, breaking management functionality. Profile removal, whether accidental or deliberate, can sever the management relationship between the device and the organization.

🔄 System Issues

Several system-level conditions can trigger management state changes. App expiration may occur due to licensing timeouts or policy enforcement deadlines. Failed download retry attempts can leave apps in an inconsistent state requiring remediation. Detection mismatches between device inventory and management systems often lead to false removal reports. The iOS 9.2.2 platform bug represents a known issue that can incorrectly report app states.

Impact

note

The impact of this error extends beyond simple app availability. When triggered, it results in a complete loss of app management state, potentially compromising organizational security policies. Device compliance status becomes affected, which may restrict access to corporate resources. Policy enforcement mechanisms are interrupted, requiring administrative intervention. In most cases, a full reinstallation of the affected app is necessary to restore proper management state.

App States

  • 🚫 Missing State: When the error occurs, the app enters a missing state where it's either completely absent from the device or present but unmanaged. This state is characterized by the absence of management controls, inactive policy enforcement, and potential security risks.

  • Required State: The desired state requires the app to be properly installed with active management capabilities. This includes functional policy enforcement, proper configuration management, and verified compliance status.

Management Impact

  • 📱 Device Compliance: Device compliance is significantly affected when this error occurs. Security policies may fail to enforce properly, creating potential vulnerabilities. The overall security posture of the device becomes unclear, requiring immediate assessment and remediation.

  • 🔐 Data Protection: Data protection mechanisms may be compromised when the app loses its managed status. Previously enforced protection policies become inactive, potentially exposing sensitive information. Managed configurations are lost, requiring reconfiguration upon reinstallation.

Resolution Steps

1️⃣ Verification

Begin the resolution process with a comprehensive verification of the current app state. Thoroughly check for the app's presence on the device through both visual inspection and system queries. Conduct a detailed verification of the installation status through management channels. Review the current management state to understand policy application status. Perform a thorough check of the iOS version to identify potential platform-specific issues.

2️⃣ Investigation

Conduct a systematic investigation into the root cause of the app removal or expiration. Review system logs and user reports to determine the specific removal cause. Examine app licensing and expiration status through management consoles. Perform detailed verification of app detection rules to ensure accuracy. Document the current platform version and any known issues that might affect app management.

3️⃣ Remediation

Implement a structured remediation plan based on investigation findings. Initiate a controlled reinstallation process through appropriate management channels. Update detection rules if necessary to improve accuracy and reliability. Execute a full refresh of the management state to ensure proper policy application. Apply current organizational policies to restore proper app configuration.

Best Practices

👨‍💻 For IT Administrators

Effective app management requires proactive monitoring and maintenance procedures. Implement regular app status monitoring to quickly identify management issues. Establish clear and accurate detection rules to maintain visibility of app states. Maintain comprehensive tracking of app expiration dates and license status. Create detailed documentation of platform-specific issues and their workarounds. Develop and maintain thorough deployment logs for troubleshooting purposes.

👤 For End Users

Maintaining proper app management requires active user participation and awareness. Users should avoid unauthorized app removal through proper channels and procedures. Any installation or management issues should be promptly reported to IT support. Users must follow established removal procedures when app changes are necessary. Regular iOS updates should be maintained according to organizational policies. App data should be preserved according to business requirements and compliance standards.

Troubleshooting Tips

App Management
  1. Verify app installation state
  2. Check management status
  3. Review detection criteria
  4. Monitor expiration dates
Known Issues
  • iOS 9.2.2 platform bug
  • Detection mismatches
  • Expiration handling
  • User removal scenarios

Additional Notes

💡 Multiple cause scenarios

🔄 Reinstallation may resolve

⚠️ Platform bug consideration

📱 Management state critical

Detection and Management Guide

  1. App Detection Verification

    • Check installation status
    • Verify app bundle ID
    • Review version information
    • Confirm management state
  2. Expiration Management

    • Monitor app validity
    • Track license status
    • Check policy timeframes
    • Review renewal requirements
  3. Platform Considerations

    • Check iOS version
    • Review known issues
    • Apply relevant patches
    • Document workarounds
Best Practice

Implement regular app status monitoring and automated detection checks to identify and resolve management issues promptly.