Description
If an inventory is updated with a nondefault role, the inventory does not consume any license.
This is due to an incorrectly populated flag in the database.
This can be confirmed with the query below:
select * from ComplianceComputerRole
where DefaultValue='<EnterRoleNameHere>'
If ManageLicenses does not have value of 1, the device with this role will not consume licenses.
Workaround
Run the query below to enable consumption on the the devices with the custom role.
update ComplianceComputerRole Set ManageLicenses=1
where DefaultValue='<EnterRoleNameHere>'
A reconcile is needed after to calculate consumption.
The issue will be fixed by Engineering with bug IOJ-2094595.