run command prompt/ powershell/ VS code with administrator rights and then it will work
[Azure Bicep Deploy Issue] Error while attempting to retrieve the latest Bicep version: ('Connection aborted.'
Henry Zhang
206
Reputation points
Hello,
We are deploying to azure via Azure devops server release pipeline, the release was successful before. But when we tried again tonight, we got this error. We are running the Azure cli deploy command based on a bicep file.
az deployment group creat --template-file "XXXX.bicep" (other parameters as well, we got the right syntax)
Error we got:
ERROR: Error while attempting to retrieve the latest Bicep version: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)).
From the error message, looks like we can not download the newest version of Bicep.
Does anyone know why? Maybe an issue on Azure's side?
Btw, there is no tag for "Bicep" when I create this Q
Thanks