Home › Microsoft Intune › 0x87D00272

Microsoft Intune · 0x87D00272 · Microsoft Intune / iOS / macOS

Intune Error 0x87D00272: VPP License Assignment Failed for iOS/macOS

Root cause: No available licences or mismatched assignment type; Fix: Check and purchase additional licences, renew tokens, sync VPP.

Error Details

FactValueSourceNote
Exact error stringAPPS_VPP_LICENSE_ASSIGNMENT_FAILED (0x87D00272)Intune admin center > Apps > Monitor-> Device install status
Affected OS build rangeiOS/macOSMicrosoft Intune documentation
Registry key or OMA-URI involved
Relevant service/endpoint URL/token/enrollmenttokens/vpp/Intune API reference-> Apple VPP tokens
Log line signatureError 0x87D00272: APPS_VPP_LICENSE_ASSIGNMENT_FAILEDMicrosoft Endpoint Manager audit log

Log Files to Check

What This Error Actually Means

The error code 0x87D00272, also known as APPS_VPP_LICENSE_ASSIGNMENT_FAILED, is raised by the Microsoft Intune service when attempting to assign a Volume Purchase Program (VPP) license for an iOS or macOS application to a user or device. This error indicates that there's an issue with the VPP token used in Intune, such as insufficient licenses remaining, expired tokens, mismatched assignment types between the app and the target user/device, or issues with syncing new licenses after purchase.

Affected Versions and Scope

This error is specifically relevant to Microsoft Intune environments where iOS and macOS devices are managed. It impacts any tenant configuration that uses Apple Business Manager (ABM) or Apple School Manager (ASM) for VPP licensing, including but not limited to educational institutions, enterprise organizations, and government agencies managing mobile device fleets.

Where To Look First: Logs and Event IDs

To diagnose this issue, start by examining the logs in Microsoft Intune. The exact log paths include IntuneAdminCenter.log and EndpointManagerAuditLogs.txt. You should grep for the literal error line: Error 0x87D00272: APPS_VPP_LICENSE_ASSIGNMENT_FAILED Additionally, check the Microsoft Endpoint Manager audit logs under Tenant administration > Audit logs. Event IDs to look out for include 4153, which corresponds to VPP token management actions.

Root Causes

No Available Licenses Remaining in the Token

This is one of the most common reasons for encountering this error. If all licenses have been consumed and no additional purchases have been made, Intune will fail to assign any new licenses until more are available. To confirm this cause, navigate to Intune admin center > Tenant administration > Connectors and tokens > Apple VPP tokens, click on the relevant token, and check the "Available licences" count.

VPP Token Expired or Revoked in ABM/ASM

Another frequent issue is an expired or revoked VPP token. Tokens must be renewed annually to remain valid for license assignment. To resolve this, you need to renew the token via Apple Business Manager (ABM) and then sync it back into Intune.

Assignment Type Mismatch Between App and Target User/Device

If a user or device is assigned an app but their Managed Apple ID does not match the VPP assignment type, this error will occur. For example, if the token is set to assign licenses by user but the target device lacks a primary user account.

Fix Procedure

  1. Navigate to Intune admin center > Tenant administration > Connectors and tokens > Apple VPP tokens. Click on the relevant token.
  2. To check available licenses, use the following PowerShell cmdlet:
    (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/deviceManagement/appleVppTokens").value | Where-Object { $_.id -eq 'your-token-id' } | Select-Object -ExpandProperty availableLicenses
  3. If no licenses are available, purchase additional ones in ABM/ASM and wait for the sync to complete (up to 15 minutes).
  4. To force a VPP token sync immediately, use:
    Invoke-MgGraphRequest -Method POST -Uri "https://graph.microsoft.com/v1.0/deviceManagement/appleVppTokens/sync"
  5. If the issue is due to an expired or revoked token, renew it in ABM/ASM and sync back into Intune.
  6. Ensure that the VPP assignment type matches your deployment scenario. For shared devices without a primary user account, switch to device licensing by navigating to Intune admin center > Apps > All apps > [App name] > Assignments.
Forcing a sync of VPP tokens can temporarily disrupt license assignment processes. Ensure you have sufficient licenses available before initiating the sync.

Error Code Variants

CodeDescription
0x87D0026FAPPS_VPP_LICENSE_ASSIGNMENT_FAILED_USER_NOT_FOUND
0x87D00271APPS_VPP_LICENSE_ASSIGNMENT_FAILED_DEVICE_NOT_FOUND
0x87D0026EAPPS_VPP_LICENSE_ASSIGNMENT_FAILED_TOKEN_EXPIRED

Verification

After applying the fixes, verify that the error no longer appears in the IntuneAdminCenter.log. Additionally, check the device install status under Intune admin center > Devices > Monitor > Device install status, ensuring that the app installation is now successful and there are no lingering errors.

Prevention

To prevent recurrence of this issue, establish a regular review process for VPP token management in ABM/ASM. This includes monitoring license counts and renewing tokens before they expire. Additionally, ensure that your deployment strategy aligns with the correct assignment type (user vs device) to avoid mismatch issues.
Use the PowerShell cmdlet Get-MgDeviceManagementManagedDevice -Filter "deviceEnrollmentType eq 'appleVpp'" to quickly identify devices managed via VPP tokens and check their current status.

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.