Оnline licensing is supported on virtual machines.
If you still use а dongle, we recommend you install the license server on a physical machine. Most hypervisors allow passing through a locally attached USB device into a virtual machine.
However, we cannot guarantee that this algorithm will work correctly with the dongle drivers.