Skip to main content
Version: Next

Task 06 — VM Image Downloads

DOCUMENT CATEGORY: Implementation Guide SCOPE: Phase 06 — Post-Deployment | Azure Local PURPOSE: Register standard Azure Marketplace VM images on the cluster so they are available for Arc VM deployment

Phase Status

Objective: Download and register the three standard Azure Marketplace VM images on the Azure Local cluster. Once registered, images are stored on the cluster's CSV storage and available for Arc VM provisioning.

Custom images are documented separately

This task covers Azure Marketplace image downloads only. Workflows for creating custom images (sysprep, generalize, upload, or convert from VHDX/VHD) are covered in a dedicated appendix or in the custom image management section of this documentation.

Prerequisites:

  • Azure Local cluster deployed and Arc-enabled (Phase 05 complete)
  • CSV volumes created and healthy (Task 05 complete)
  • Azure identity authenticated: az login or Az PowerShell Connect-AzAccount
  • az stack-hci-vm CLI extension installed (az extension add --name stack-hci-vm)
  • marketplace_images block populated in variables.yml

Variables from variables.yml

PathTypeDescription
marketplace_images.images[].offerstringMarketplace image offer
marketplace_images.images[].publisherstringImage publisher
marketplace_images.images[].skustringImage SKU
marketplace_images.images[].namestringImage resource name
marketplace_images.images[].storage_pathstringStorage path for download
azure_platform.resource_groups.cluster.namestringResource group
compute.azure_local.custom_locationstringCustom location

Download Images

When to use: Single image creation, visual confirmation of marketplace offer details, or when CLI access is unavailable.

Prerequisites: Access to the Azure Portal with Contributor rights on the resource group.


Steps (repeat for each image):

  1. Navigate to your Azure Local cluster resource: Azure PortalAzure Localiic-clus01

  2. In the left navigation, select ResourcesVM images

  3. Click + Add VM imageAdd VM image from Azure Marketplace

  4. Search for the image and select it:

ImageSearch term
Windows Server 2025 Datacenter Azure Edition Gen 2Windows Server 2025 Datacenter Azure Edition
Windows Server 2022 Datacenter Azure Edition Hotpatch Gen 2Windows Server 2022 Datacenter Azure Edition
Windows 11 Enterprise Multi-Session 25H2 + Microsoft 365 Apps Gen 2Windows 11 Enterprise multi-session
Select the correct generation

Confirm Gen 2 in the image name before selecting. Gen 1 images are not supported on Azure Local Arc VMs and will fail to deploy.

  1. On the Create VM image blade, fill in:
  • Subscription: a1b2c3d4-e5f6-7890-abcd-ef1234567890
  • Resource group: rg-iic01-azl-eus-01
  • Custom location: cl-iic01
  • Image name: e.g. img-iic01-ws2025-azedition-g2
  • Image version: latest (or a specific version)
  • Storage path: select a registered storage path (e.g. sp-iic01-clus01-m2-vmstore-prd-01)
  1. Click Review + createCreate

  2. Image download starts immediately. Progress is visible on the VM images blade. A 40–60 GB image typically takes 15–30 minutes depending on cluster network speed.

  3. Repeat for the remaining two images.


Validation

After all images are created, confirm they are in a Succeeded provisioning state and are visible on the cluster's VM images blade.

List all gallery images in the resource group
az stack-hci-vm image list `
--subscription a1b2c3d4-e5f6-7890-abcd-ef1234567890 `
--resource-group rg-iic01-azl-eus-01 `
--output table
Check a specific image status
az stack-hci-vm image show `
--subscription a1b2c3d4-e5f6-7890-abcd-ef1234567890 `
--resource-group rg-iic01-azl-eus-01 `
--name img-iic01-ws2025-azedition-g2 `
--query "{Name:name, State:provisioningState, OS:properties.osType}" `
--output table

Expected results:

NameStateOS
img-iic01-ws2025-azedition-g2SucceededWindows
img-iic01-ws2022-azedition-hotpatch-g2SucceededWindows
img-iic01-win11-25h2-avd-m365-g2SucceededWindows
Image stuck in "Downloading" or "Failed"

If an image stays in Downloading for more than 60 minutes or enters Failed state:

  1. Check cluster storage health — CSV volumes must be online and have sufficient free space
  2. Verify the cluster has outbound internet access to *.blob.core.windows.net (image source)
  3. Delete the failed image and re-run: az stack-hci-vm image delete --name <img> --resource-group <rg> --yes

Troubleshooting

IssueCauseResolution
Image stuck in Downloading for over 60 minutesInsufficient CSV free space or blocked outbound connectivityCheck CSV free space: Get-ClusterSharedVolume; verify outbound to *.blob.core.windows.net on port 443
Image provisioning state is FailedInvalid image source URL or Arc resource bridge issueDelete and recreate: az stack-hci-vm image delete --name <img> --resource-group <rg> --yes; verify bridge health first
Image not visible in Azure portalSync delay between cluster and AzureWait 10-15 minutes; if still missing, verify the custom location resource is healthy: az customlocation show

← PreviousTask 05 — Storage Configuration
↑ Phase IndexPhase 06 — Post-Deployment Index
→ NextTask 07 — Logical Network Creation