I am trying to create a formula in DevTest lab using ARM. This formula needs base image. I am using customimageid property in as shown below in ARM template.
"customImageId": "[concat('/customimages/', variables('imageName'))]"
I can create a formula but unable to attach base image to the formula.
Any help can be appriciated. Thank you.
As per this Azure document, customImageId property accepts string value of the custom image identifier of the virtual machine. So I suggest you to give a try by having customImageId something like shown below.
Note: consider above customImageId if you have below resourceType variable in your variables section
and consider above customImageId if you have below existingLabName and imageName parameters in your parameters section