I get an error when I try to create an image as in the training from a generalized VM

Mohamed 0 Reputation points
2024-04-30T08:09:36.2933333+00:00

Following the training steps, to create an image causes below error:
Creation of managed images are not supported for virtual machine with TrustedLaunch security type.

thank you

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,013 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mohamed 0 Reputation points
    2024-04-30T14:14:34.25+00:00

    I tried both windows and Linux, and I got the same error in both:

    az image create --name MyVMIMage --source MyUbuntuVM

    (OperationNotAllowed) Creation of managed images are not supported for virtual machine with TrustedLaunch security type.

    Code: OperationNotAllowed

    Message: Creation of managed images are not supported for virtual machine with TrustedLaunch security type.

    User's image

    0 comments No comments