liprec / vsts-release-aas

Repository for my Analysis Service Azure pipelines tasks related to Azure Analysis Service or Power BI Premium
Other
27 stars 28 forks source link

System.Net.WebException. The remote name could not be resolved. #97

Closed yeykawb closed 2 years ago

yeykawb commented 2 years ago

Hi Jan Pieter.

So, I've been using this extension for some time without issues. However just now this error came from nowhere. Any clues to what it could be?

##[error]System.Net.WebException: The remote name could not be resolved: 'management.azure.com' at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request) at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()

Snag_1a0d114

liprec commented 2 years ago

Looks like the agent does have a connection issue as it cannot resolve the management.azure.com. Can you validate that the agent does have valid internet connection?

yeykawb commented 2 years ago

I can validate that it did work when running the pipeline today instead, so most probably this was the cause. I just wanted to make sure the issue wasn't on my side. Thanks for the reply! / Jakob