danielsollondon / azvmimagebuilder

Azure VM Image Builder
180 stars 153 forks source link

Unable to create the img def template #115

Closed ii-batman closed 3 years ago

ii-batman commented 3 years ago

When I follow: https://github.com/danielsollondon/azvmimagebuilder/tree/master/solutions/14_Building_Images_WVD#submit-the-template Running: New-AzResourceGroupDeployment -ResourceGroupName $imageResourceGroup -TemplateFile $templateFilePath -api-version "2020-02-14" -imageTemplateName $imageTemplateName -svclocation $location Error: New-AzResourceGroupDeployment: 4:45:43 PM - The deployment 'armTemplateWVD' failed with error(s). Showing 1 out of 1 error(s). Status Message: Property id '' at path '' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'. (Code:LinkedInvalidPropertyId) Please help me find where I went wrong, Daniel?

ii-batman commented 3 years ago

Never mind, sorted it, I was running VSCode when I got the error but running from Cloud shell worked fine. Great stuff here - forever grateful.