Hi
Welcome to the Microsoft community.
There are many settings of virtual machines. There must be an error there. At present, it is difficult to judge where the problem is. Here is a Microsoft document that you can click to view. You could try testing it.
Deploy shielded VMs | Microsoft Docs
Looking forward to your further news.
You are welcome to reply to this topic at any time, and sincerely thank you for your support of Microsoft products and services.
Best regards
Derrick Qian | Microsoft Community Support Specialist
* If your problem is not solved, you could reply to the post again and we would continue to provide technical support for you.
* Please check and vote this answer if it helps as it will be beneficial to more community members reading here.