Forum Discussion
micheleariis
Nov 16, 2022MCT
Windows 11 Multisession AVD - problem upgrade to 22H2
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
- Jul 31, 2024I close the post with the solution provided by Microsoft.
https://learn.microsoft.com/en-us/azure/virtual-machines/trusted-launch-existing-vm?tabs=portal
micheleariis
Nov 17, 2022MCT
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
askaresh
Nov 17, 2022Iron Contributor
Make sure the virtual machine is Gen2 and last when i checked there were some limitations on Multi Session (Feature was under preview)
https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2 (jump to the FAQ)
https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2 (jump to the FAQ)
- micheleariisNov 17, 2022MCT
- askareshNov 18, 2022Iron Contributor
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.