Hello.
Its been a while since i wrote this post. Back then we found that this issue was releated to an application with alot of dependencys.
What we did then was to remove the application ofc, and also uninstall and install the CM agent on the clients and all was fine.
As a consequence, nowdays we rarely use the dependency method. Insted we use scripts to install multiple msi packages.
No here is the thing, we have encountered the issue again. This time in a quite bigger scale, atleast 1000+ clients.
We dont want to do the uninstall/reinstall CM agent again, thats just not a good sollution, aleast least not the manual way.
Note, the uninstall/reinstall CM agent method works this time also.
I have tryed your script this time, but it returns 0.
The only difference this time is that AppDiscovery.log have entrys as it should, other then that AppEnforce.log and AppIntentEval.log have no entrys for a many days and even weeks in some cases.
The issue came up again two days ago when we decided to distribute an application to 1300~ clients, around 1000~ havent installed the application yet.
Anyone have any idés?