Starting with Windows 10 1809 and Windows Server 2019, Microsoft added the ability to provide support for 802.1x through the Hyper-V vSwitch.
To enable it, a registry modification is required. Run the following with elevated credentials:
reg add “HKEY_LOCAL_MACHINE\SYSTEM\CURRENTControlSet\vmsmp\parameters” /v 8021xEnabled /t REG_DWORD /d 1 /f
shutdown /r /t 0
This makes the necessary registry modification and then restarts the computer.