Have you tried the super powerful "Intelligent License Restriction" and used AD Groups restrictions?
The Intelligent License Restriction has been introduced in FlexNet Manager and Flexera One ITAM in December 2022 (2022R2 version). The principle is super simple: Instead of restricting a license on an entity, you can restrict it on any "Device Group"...