az vm create command reports "Consider upgrading security for your workloads using Azure Trusted Launch VMs." when it is used to create CVMs
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.