Description:
This situation arises when you try to authenticate a new device on a virtual machine like VirtualBox or Oracle.
Reason:
The main identity of an enrolled device is its serial number, which is set by default during its manufacturing. However, as far as virtual machines are concerned, they do not have a default serial number, as they are not real. Devices that you attempt to enroll will fail enrollment if the virtual machine you use has no serial number. In the case of VirtualBox alone, the device with no serial number is assigned "0" by default.
Solution:
Either avoid using virtual machines for device authentication, or set a serial number manually to the virtual machine you use to make sure the enrollment is successful.
To set a serial number for VirtualBox, the command should be in this format: VBoxManage setextradata "VM name"
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "System Serial".
Example: VBoxManage setextradata "Fedora VM" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "3SAAXRWUQF".
For Parallels, the command to be used is of the format: prlctl set "<vm_name|vm_UUID>" --smbios-serial-number <serial>.
Example: prlctl set "Windows 10" --smbios-serial-number C02XK987654.