locked
No ARM Templates Listed RRS feed

  • Question

  • I've created a DevTest lab. When I go into the configuration I can see that the public default repository enabled. I've also added my own Github repository to the DTL. When I go to Overview and click on +Add I don't see any ARM templates listed in the "Choose a base" list. Both the Public Repo and my Repo are enabled.  

    Wednesday, December 7, 2016 3:18 PM

Answers

  • Hello Pete,

    Currently templates with errors are omitted from the list without any additional diagnostics.

    One of the errors in the template is in the dataDisks property and has to do with nested usage of " (the quote).

    On a more general note, the new environments feature exists for the purpose of bringing non-DevTestLab resources (Microsoft.Compute virtual machines, SQL server, websites, etc.) into a lab. Bringing a Microsoft.DevTestLab/labs/virtualmachines as you do in your template,  is not supported and will result in an error. The technical reason is that environments always create a new resource group, whereas DTL virtual machines, being a nested resource of the lab, must be in the same RG as the lab itself.

    Also note that if the template contains Microsoft.Compute/virtualMachines resources, DevTestLabs will create the corresponding Microsoft.DevTestLab/labs/virtualmachines resources for them automatically; however, this process cannot be customized through the ARM template.

    Yuri

    Thursday, December 8, 2016 11:13 PM

All replies

  • Hi,

    Check on these ARM template Repo in GitHub 

    https://github.com/Azure/azure-devtestlab/tree/master/ARMTemplates

    https://azure.microsoft.com/en-us/blog/announcing-azure-devtest-labs-support-for-creating-environment-with-arm-templates/

    Thanks


    If this answer help Please mark it as a answer Blog-http://allaboutwindowssl.com/

    Wednesday, December 7, 2016 4:51 PM
  • Thank you Kasun for the reply.  I've read the blog post you cited and thought I discovered the issue by renaming the .json tempate to azuredeploy.json.  However, my problem remains.  My templates do not appear in the list of base images.

    This is the repository I have added to the <Git clone URI>

         https://github.com/eyem4usf/DevTestLabs01.git

    The value saved in <Branch>

         master

    I created a token that has all permissions selected

    Folder paths are

    <Artifact folder path>

         /TheGapDevTestVHD/artifacts

    <Azure Resource Manager template folder path>

         /

    Wednesday, December 7, 2016 8:11 PM
  • Hello Pete,

    Currently templates with errors are omitted from the list without any additional diagnostics.

    One of the errors in the template is in the dataDisks property and has to do with nested usage of " (the quote).

    On a more general note, the new environments feature exists for the purpose of bringing non-DevTestLab resources (Microsoft.Compute virtual machines, SQL server, websites, etc.) into a lab. Bringing a Microsoft.DevTestLab/labs/virtualmachines as you do in your template,  is not supported and will result in an error. The technical reason is that environments always create a new resource group, whereas DTL virtual machines, being a nested resource of the lab, must be in the same RG as the lab itself.

    Also note that if the template contains Microsoft.Compute/virtualMachines resources, DevTestLabs will create the corresponding Microsoft.DevTestLab/labs/virtualmachines resources for them automatically; however, this process cannot be customized through the ARM template.

    Yuri

    Thursday, December 8, 2016 11:13 PM
  • I am facing the Same issues where the templates does not show up. I Validated that the template does not have any syntax or logical errors, I am able to deploy the resources. *SQL and Webapp*. 

    Where can I find some diagnostics errors related to why it is not  reading my repo.

    Friday, October 27, 2017 1:29 AM