I have several devtest labs in different resource groups in Azure. I want to be able to use a base image created in one in the other.
I see that other base images are saved as snapshot objects.
I have exported the base that I want as a snapshot, but I can't seem to get it into my devtest lab. When I click add a custom image I only get the option to Upload a VHD from my computer, or use an existing VHD. But I cannot find my snapshot.
I have tried in my environment to select the custom image from snapshot.
I have created one DevTest lab and added virtual machine to the DevTest lab like below.
I have created snapshot of particular virtual machine like below:
I have selected the snapshot has a custom image while creating the New Virtual Machine instead of Gallery Image like below.
Alternatively, I have created Mutiple DevTest lab with different resource groups as you mentioned. Unfortunately, it's not supported with different resources like below.
Reference:
Create a custom image from a lab VM - Azure DevTest Labs | Microsoft Learn
Create and add a virtual machine to a lab - Azure DevTest Labs | Microsoft Learn