I ran into this issue today. In my case it was because I had the app
scoped to a static group that had more members then we had licenses for
in Apple School manager. It was a free app, so I added a bunch more
licenses, then the app started installing...