Share via


'Image Not Found' exception when trying to scale up - increase VMSS instances for a Service Fabric cluster

Issue:  'Image Not Found' exception when trying to scale up - increase VMSS instances for a Service Fabric cluster.

Cause:  ARM template should have this, which instructs to use the latest version of the image.  If the vmImageVersion is hard coded, then they may run into 'Image Not Found' problem.

 
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
     "version": "[parameters('vmImageVersion')]"

 

"vmImageVersion": {
"type": "string",
"defaultValue": "latest"