Azure / Azure/azure-quickstart-templates

ARM template not support Azure provided image id

Open
#12,079 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

### Issue Details

We use a template to create vm in which we use the azure provided windows image id directly in **imageReference**, like this:

```
"imageReference": {
"id": "/Subscriptions/xxxxxxxx/Providers/Microsoft.Compute/Locations/japanwest/Publishers/MicrosoftWindowsServer/ArtifactTypes/VMImage/Offers/WindowsServer/Skus/2012-R2-Datacenter/Versions/4.0.201503"
}
```
But it got Error says **_"it's invalid image"._**
So does arm template support the **azure official image id** in **imageReference**?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the issue's ARM template imageReference example and investigate how Azure-provided image IDs are validated. No repository file, test, or entry point is named; done would require a confirmed answer about supported behavior and any corresponding repository guidance or change.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.