Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.06k stars 16.13k forks source link

Can not run template with Gen2 Virtual Machines #13014

Open over2under opened 1 year ago

over2under commented 1 year ago

--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------

Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue

We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!

--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------

[Template Name goes here](Template link goes here)

Issue Details

I'm an internal Microsoft employee and need the ability to run this template with 2019-datacenter-gensecond and 2016-datacenter-gensecond ImageSKUs (DSc2-Series and Dsc3-series). The tenant I use ONLY support generation 2 virtual machines. Can the template be updated to support new Generation 2 virtual machines?

When I customize the template to run these sku I fails with the following error:

{"code":"MultipleErrorsOccurred","details":[{"code":"InvalidContentLink","message":"Unable to download deployment content from 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/active-directory/nested/vnet.json'. The tracking Id is 'bc8c3fb9-b781-4767-a435-f966777d7039'. Please see https://aka.ms/arm-deploy for usage details."},{"code":"InvalidContentLink","message":"Unable to download deployment content from 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/active-directory/nested/CreateAndPrepnewVM.json'. The tracking Id is 'bc8c3fb9-b781-4767-a435-f966777d7039'. Please see https://aka.ms/arm-deploy for usage details."},

I'm pretty sure this is because the templates do not support modification in this way.

Repro steps (if necessary, delete otherwise)

1. 2. 3. 4. 5.

over2under commented 1 year ago

This issue is with the create-ad-forest-with-subdomain template located at:

https://github.com/Azure/azure-quickstart-templates/tree/master/application-workloads/active-directory/create-ad-forest-with-subdomain

dahuigeniu commented 1 year ago

good project