Reallocation of Microsoft licenses is regulated in the Microsoft product regulations. Normally, a Microsoft license may not be reassigned more than once within 90 days. Exceptions are regulated in the product regulations, including loss of a device or if an employee leaves the organization.
Product Terms (point 9 “Assignment and reallocation of licenses”)