Nov 16 2022 03:53 AM
Hello, I have a problem updating the VM used for my Azure Virtual Desktops; When I update I get the following error:
The VM generator is 2.0
Nov 16 2022 10:23 PM
I hope you had enabled TPM on your virtual machine? If not, please make sure its enabled as TPM 2.0 is a requirement for the Windows 11 Upgrade.
Nov 16 2022 11:57 PM - edited Nov 16 2022 11:57 PM
I tried to activate it by running the following commands
az vm update \
--resource-group \
--name \
--enable-secure-boot true \
--enable-vtpm true
but I get the following error back
(PropertyChangeNotAllowed) Changing property 'securityProfile.uefiSettings' is not allowed.
Code: PropertyChangeNotAllowed
Message: Changing property 'securityProfile.uefiSettings' is not allowed.
Target: securityProfile.uefiSettings
Nov 17 2022 12:16 AM
Nov 17 2022 03:14 AM
Nov 17 2022 04:31 PM
@micheleariis Found this on the doco you cannot enable trusted launch on an existing virtual machine
As a test deployed Standard D2s v3 and tried changing in the UI no option under Configurations and with PowerShell it gave an error.