@grepler71 As mentioned Apple has a limitation on how many devices can use an Apple ID, this is to stop people purchasing a single app license and using it on hundreds of devices.
You cannot set a devices Apple ID via an MDM, it has to be configured on the device itself.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.