azureblog.co.uk
← cd ~/intune-errors
// intune-errors · App install

0x87D1313DCould not retrieve license for the app with iTunes Store ID

iOS/iPadOS: Intune could not get a VPP licence for the app.

Hex0x87D1313D
Decimal-2016333507 (unsigned 2278633789)
AreaApp install

How to fix it

Sync the VPP token then the device. If it persists, reassign as device-licensed, revoke and reassign the licence, or revoke all VPP licences for the device and re-enrol.

Find it on the device

On the device, the Intune Management Extension logs every Win32 app install. Search them for the code:

powershell2 lines
Select-String -Path "C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\*.log" `
    -Pattern "0x87D1313D|-2016333507" | Select-Object -Last 20

Find every device with it

In the Intune admin centre go to Apps › All apps › your app › Device install status and sort by status details to see every device that hit it.

Other app install errors

Search all 116 codes →