Hi,
It seems the Windows 11 Dev Environment VM is Generation 2 however the Windows 11 VM is Generation 1. Windows 11 requires TPM 2.0 and Secure Boot capable UEFI so you have to create a Generation 2 VM to run Windows 11. Please check out the Windows 11 system requirements over here.
https://www.microsoft.com/en-us/windows/windows-11-specifications
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.