az group deployment create / proxy server question

Category: azure scripting and command line tools

Question

scott_m on Fri, 31 May 2019 01:34:28


Trying to use az group deployment create  with --template-uri https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-asev2-ilb-create/azuredeploy.json but it seems to blow up on it complaining about the content.

Does AZ support proxy server?  Any special instructions when using proxy server? I wonder if proxy server or digital guardian is potentially causing issue here.  

Powershell 5.1

Windows 10

Replies

AmanGarg-MSFT on Tue, 04 Jun 2019 13:02:49


Hi scott_m,

Thanks for reaching out!

I tried running deploying the template from behind a proxy server and it worked properly:

az group deployment create --template-file  "C:\git\azure-quickstart-templates\201-web-app-asev2-ilb-create\azuredeploy.json" -g amgar-temp --parameters "C:
\git\azure-quickstart-templates\201-web-app-asev2-ilb-create\azuredeploy.parameters.json"

Can you re-run and let us know if the problem still persists? Also, if it does, please let us know the exact error.

Thanks!