I would share my experience with Intune Device License that as describe in this link ( -au/help/4514392/introduction-to-device-licenses-in-microsoft-intune) I used DEM account to enroll the machine and it will automatically be assigned a device license but we need to manually monitor the number of licenses to make sure enrolled devices are fit within the purchased licenses.