IsAcceleratedNetworkSupported in null on input gallery image

Dhawal Patel 20 Reputation points
2023-10-17T11:58:16.02+00:00

When trying to capture a VM as a image in Azure Compute gallery, getting the below.

The gallery image version source '/subscriptions/****/resourceGroups/wqwqwqwqqwqw/providers/Microsoft.Compute/virtualMachines/is7.4.2' contains gallery image property 'IsAcceleratedNetworkSupported' which has a different value ['<null>'] than the input gallery image property value ['True']. (Code: Conflict)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 28,201 Reputation points Moderator
    2023-10-17T14:07:53.0366667+00:00

    Hi @Dhawal Patel

    Thank you for reaching out to the Microsoft Q&A platform.

    The error message you're encountering while trying to capture a VM as an image in Azure Compute Gallery indicates a conflict between the values of the IsAcceleratedNetworkSupported property for the source VM and the desired image.

    Here's what the error means:

    • The source VM, identified by its Azure Resource ID, has a IsAcceleratedNetworkSupported property with a value of <null> (which typically means it's not explicitly set).
    • When you're trying to capture this VM as an image, you're specifying that the IsAcceleratedNetworkSupported property should have a value of 'True'.

    The conflict arises from the mismatch in the IsAcceleratedNetworkSupported property values between the source VM and the desired image.

    To resolve this issue, you have a few options:

    Update the source VM properties:

    If the VM should support accelerated networking, you should update the source VM's properties to set IsAcceleratedNetworkSupported to True. You can do this in the Azure Portal or by using Azure PowerShell or Azure CLI.

    Remove or change the IsAcceleratedNetworkSupported property specification:

    If you don't require the IsAcceleratedNetworkSupported property to be explicitly set for the image, you can remove it in your image configuration.

    If you need it to be specified

    Use a different source VM:

    If the current source VM cannot be modified or you need different settings, consider using a different VM as the source for creating the image.

    You can also try to capture the image as a managed image, then try adding it to the gallery as per the steps in below document link https://learn.microsoft.com/en-us/azure/virtual-machines/capture-image-portal#capture-a-vm-in-the-portal

    Hope this helps!

    If this response has answered your query, please 'Accept as Answer' and Upvote using "Thumbs-up"


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.