Azure Image gellery will not create image due to faulty null in IsAccleratedNetwork

abcd1234! 20 Reputation points
2025-05-20T12:46:33.3433333+00:00

I am trying to create images of windows VMs in a compute gallery. I allways get the error message that accelerated networking would be set to null. While when checking via portal and via CLI I can see that it is actually true. Seems to be a bug. See screenshots. Please help.
User's image

User's image

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

Accepted answer
  1. Dharani Reguri 1,175 Reputation points Microsoft External Staff Moderator
    2025-05-20T15:38:09.7033333+00:00

    Hi abcd1234!,

    Thanks for sharing the screenshots.

    As said, you will need to either select an Image Version source that matches the properties of the Image Definition or create a new Image Definition with properties that will allow that image source.

    But this might be happening because acceleratedNetwork is disabled under source VM's OS disk supported capabilities. To fix that, use the command below to enable acceleratedNetwork at source VM's OS disk:

    az disk update -n <source VM's os disk name> --resource-group <resource group> --accelerated-network true 
    

    If Source OS disk does not have NVMe property, we can update the property using CLI.

    az resource update --ids /subscriptions/<SubID>/resourceGroups/<RGname>/providers/Microsoft.Compute/disks/<DiskName> --set properties.supportedCapabilities.diskControllerTypes=SCSI,NVMe
    

    If you have any further queries, let me know. If the information is helpful, please click on Upvote.

    Thank you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.