Azure / azure-quickstart-templates

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

Error downloading templates from github #13107

Open spissay opened 1 year ago

spissay 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----------------------

vm-simple-windows-There was an error downloading the template from URI 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/vm-simple-windows/azuredeploy.json'

Issue Details

Repro steps (if necessary, delete otherwise)

  1. I have tried deploying custom templates to Azure, but none of them work, I have tried 2-3 randomly. There was an error downloading from URI 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/vm-simple-windows/azuredeploy.json'. Ensure that the template is publicly accessible and that the publisher has enabled CORS policy on the endpoint.

ailonag commented 1 year ago

I hit this same issue. looks like its still pointing to just the /SCCM/DSC folder. edit the template > select Variables > dscScript and add "sccm-currentbranch/" to the path so it looks like "sccm-currentbranch/DSC/DCConfiguration.zip"

image