Trouble When Creating a lab and connect to it with Azure Lab Services

Ayoub Banani 0 Reputation points
2023-10-24T00:30:05.26+00:00

when creating a lab, I cannot choose a virtual machine image, the field concerned does not display any option despite the version that I want "Windows 11 Pro" is available (enabled) in the lab plan, can you help me create my first Azure lab and start practicing my knowledge about virtualization.

Spécification de paramétres de machines virtuelles

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
280 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2023-10-28T00:39:07.7333333+00:00

    @Ayoub Banani

    #If you are seeing that Virtual machine image is not available, then -

    On the lab plan, you can configure the list of available VM images for creating a lab:

    1. Select VM images from the Azure Marketplace
    2. Select custom VM images from an Azure compute gallery

    Verify the following potential causes for a VM image not to be available.

    -Virtual machine image is not enabled

    In the lab plan configuration, you can enable or disable specific VM images for both Marketplace images and Azure Compute Gallery images. To enable images, see how to specify Azure Marketplace images or how to enable image in an Azure compute gallery.

    -Azure compute gallery is not connected to the lab plan

    To use custom VM images, you have to connect an Azure compute gallery to your lab plan. Verify if the compute gallery is attached to the lab plan, or save a custom image to your compute gallery.

    -Virtual machine image is not in the same location as the lab plan

    To use a custom VM image from a compute gallery, the image has to be replicated in the same location as the lab plan. You can configure replication in the compute gallery. Learn more about how to store and share images in an Azure compute gallery.

    -Virtual machine image size is too large or uses multiple disks

    Azure Lab Services doesn't support VM image sizes that are larger than 127 GB, or images with multiple disks.

    #If Virtual machine size is not available, then -

    On the lab plan, you can configure which VM sizes are available for creating a lab. In addition, your Azure subscription has a quota for the number of CPU or GPU cores that are available.

    Verify the following potential causes for a VM size not to be available.

    -VM size is restricted on the lab plan

    On the lab plan, you can set a policy to restrict which VM SKU sizes are available for creating labs. For example, you can prevent labs to use GPU-powered virtual machines. Learn how you can configure VM size restrictions for creating labs.

    -Quota limit is reached

    Your Azure subscription has limits (quota) on the number of cores you use. The quota is based on specific VM size and Azure region. To learn more about capacity limits in Azure Lab Services.

    If you've reached the limit of VM cores of a specific VM size, or if the quota is granted for a different region than the region of the lab plan, the VM size isn't available for creating labs.

    Determine your current VM core usage and the quota for your Azure subscription.

    Learn how you can request a VM core limit increase.

    Source: https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-lab-creation


    Let me know in the comments if you have further questions. Comment is the fastest way to reach the experts for any questions or help you need.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.

    0 comments No comments