
Nic0la asked a question.
Over the last week we have noticed that there have been (App Portal 2019 R1) Requests raised and processed as successful but the users have not been added to the SCCM collections (we have user based deployments).
The issue seems to be with a small number of catalog items. Users raise a request, everything looks to be fine (even the request log files look ok) but then the user does not get the install and when investigated – the users has not been added to the SCCM Collection.
The rest of our 1200+ catalog items seem fine. The affected catalog items were all created at different times over the last two years. Some of the affected Catalog items require approval – and other do not. Previous requests to these catalog items did process correctly – and users were added correctly. Users who request an affected catalog item will find that they don’t get added to the SCCM collection but the same users can then go on to request a working catalog item successfully.
Any advice on how to troubleshoot this issue would be greatly appreciated, Thanks.
Completing the following steps resolved the issues we were seeing.
1 – Updating the request processing batch size, by running the following SQL update:
update wd_appsettings set value = '600' where keyname ='RequestProcessingBatchSize'
We restarted the ESD Service after this.
2 - Deleted failed inserts
We also had a number of failed inserts that were preventing valid requests from inserting correctly.
We ran a query to delete these, it looked like this
UPDATE WD_PackageRequests SET IsLeased = 0, LeaseExpire = NULL, Deleted = 1, Inserted = 0, InsertDate = NULL, monitor = 0 WHERE requestID in(
<--insert comma seperated request numbers here-->)