Unable to install some vpp apps in user enrolled devices

We are doing application assignment to personal iOS devices that are enrolled in MDM via User Enrollment. However, we're experiencing some odd behavior when assigning licenses.

We are getting back errors from the devices when doing assignments:

code: 12064, domain: MDMErrorDomain, description: Could not retrieve licence for the app with iTunes Store ID 422689480.

code: 2605, domain: DeviceManagement.error, description: No licence was found for app "com.google.Gmail".

However, we are not seeing license exhaustion on the Apple Business Manager side for our location.

We are not clear what would cause the 12064 or 2605 errors.

We have tried re-sending the command to install the app, and we have tried un-enrolling devices and re-enrolling, as well as updating the VPP Token for the location.

We have gathered sysdiagnoses from affected devices, but it's not clear what causes this. What other causes are there for 12064 and 2605 errors? How can we work around these?

Unable to install some vpp apps in user enrolled devices
 
 
Q