Create a VM from an image in the Azure Compute Gallery

Clay W. Ginn 1 Reputation point
2022-09-27T22:29:45.36+00:00

I'm attempting to create a set of claimable VMs from the Azure Compute Gallery, but it seems to not want me to do it. The VM has been generalized, as I can't start it anymore. I'm not sure what I'm doing wrong. I keep getting this error.

245259-image.png

I also tried creating a VM outside of DevTest and it did the same thing.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,291 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
260 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bjoern Peters 8,856 Reputation points
    2022-09-28T01:24:05.127+00:00

    This error message states a proper tip...

    in order to use an image in Azure it has to be prepared correctly... eg you are installing a Windows Server in Azure up to a level that is what you would like to have as a "golden" image... then you have to create a snapshot out of it in order to use as a base image
    https://learn.microsoft.com/en-us/azure/virtual-machines/capture-image-portal

    For this process of preparing the image "you" have to use some specific command switches, that is mentioned in the message that the used image for your server was a.) not correctly prepared or something went wrong during the process and it is suggested to do it again.

    So you would recommend to try again preparing your image or if it is not your image, then ask the supplier of that image to check the deployment process of their image.

    0 comments No comments