Limit the request for ITShop service item

Hi,

version 9.2.

I connected a service item with an aadgroup that assignes licenses to users and since i have 25 licenses only i was wondering if there is a solution to limit the request of a certain service item when it is already assigned to 25 users.

Thank you.

Regards.

Redinaldo Hysesani