Skip to content

az vm create command reports "Consider upgrading security for your workloads using Azure Trusted Launch VMs." when it is used to create CVMs #32150

@VladimirKhvostov

Description

@VladimirKhvostov

Describe the bug

I am using AZ CLI to create Confidential VM. I pass the following parameters:
--security-type ConfidentialVM
--os-disk-security-encryption-type DiskWithVMGuestState

Command reports the following warning:

Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch.

This does not make sense, since ConfidentialVM support TrustedLaunch.

Related command

az vm create

Errors

Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch._

Issue script & Debug output

Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch.

Expected behavior

Command should not report this warning.

Environment Summary

zure-cli 2.77.0

core 2.77.0
telemetry 1.1.0

Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\vlkhvost.azure'
Extensions directory 'C:\Users\vlkhvost.azure\cliextensions'

Python (Windows) 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions