Ensure Baseline sync is set to 720 minutes or 12 hours. Delete references of the deleted VPP app from the tables if they exist.
1. To check if app exists in RESOURCES_BAG table
select * from RESOURCES_BAG where NAME like '%web%' (where 'web' is the deleted app name)
If null response is received run second query.
2. From PROVISIONING table.
select STORE_ID, PROVISIONING_ID from PROVISIONING where FULLAPPLNAME like '%web%' (where 'web' is the deleted app name)
Make a note of STORE_ID and PROVISIONING_ID for the deleted app.
3. From AVPP_LICENSE
select * from AVPP_LICENSE where ADAM_ID = ‘374211477’ (where '374211477' is the store_id from previous query)
After validating the above run the following query to delete those stale reference from the database:
delete from PROVISIONING where PROVISIONING_ID = '111'
delete from AVPP_LICENSE where ADAM_ID = '374211477'
+ After that - Deploy the application again and wait for 10 minutes to an hour for the application to appear on console.
Problem Cause
- VPP Baseline Sync Interval value was greater
- Stale reference of the Deleted VPP app under the XenMobile Database