Azure / Azure/azure-cli

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

Open
#32,150 1 comment 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute question
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.