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

Open

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

Activity

  1. added
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Sep 20, 2025
  2. yonzhan commented on Sep 20, 2025

    @yonzhan
    Collaborator

    Thank you for opening this issue, we will look into it.

  3. added
    Azure CLI TeamThe command of the issue is owned by Azure CLI team
    questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
    on Sep 20, 2025
  4. removed
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Sep 20, 2025
  5. added this to the Backlog milestone on Sep 20, 2025
  6. microsoft-github-policy-service commented on Sep 20, 2026

    @microsoft-github-policy-service
    Contributor

    🔔 Routing this issue to @Azure/act-observability-squad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotact-observability-squadpotential-pruningquestionThe 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