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"