Skip to main content

All licenses are in use or the license is not assigned yet due to expired Jamf Pro token

Issue Description

Seeing the following error when attempting to deploy VPP applications - "All licenses are in use or the license is not assigned yet" however there were a sufficient number of licenses.

Troubleshooting

  1. Check the VPP server logs.

  2. The log below indicates the VPP token is expired which is causing issues with VPP deployment:

    2024-08-07T21:07:32,098 [ERROR] [duledPool-8] [VppParallelRequestComm ] - [JPROVPP-027] [Vpp-Parallel-Request] encountered error Optional[9621], Optional[The token has expired. You need to generate a new token online using your organization's account at either school.apple.com or business.apple.com.] 2024-08-07T21:07:32,098 [ERROR] [duledPool-8] [VppCommService ] - [JPROVPP-014] Failed to download VPP license data for account Iconiq Capital, LLC com.jamfsoftware.vpp.comm.VppServiceException: Failed to download data for admin account at com.jamfsoftware.vpp.comm.VppParallelRequestComm.doRequest(VppParallelRequestComm.java:170) ~[vpp-impl-11.6.0-t1717010119.jar:?] at com.jamfsoftware.vpp.comm.VppParallelRequestComm.getAllLicensesSinceLastSync(VppParallelRequestComm.java:71) ~[vpp-impl-11.6.0-t1717010119.jar:?] at com.jamfsoftware.vpp.comm.VppLicenseUpdater.updateAllLicensesSinceLastSync

  3. Renew the Volume Purchasing token following the steps in Renewing or Replacing a Service Token from Apple Business Manager.

    Note - Step 1 of the linked documentation above will work for Apple School Manager, but is incorrect for Apple Business. To download the token:

    1. Log in to Apple Business.

    2. Click your organization name in the upper-right corner.

    3. Under Payments & Billing > Apps & Books, click download next to the organizational unit you created in step 2.

Did this answer your question?