Azure / Azure/azure-cli

run into server_hostname when running az cli command

Open
#19,243 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad customer-reported feature-request Installation
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**

installed latest version of Azure CLI but run into the error "check_hostname requires server_hostname" for most az commands.
**To Reproduce**

az extension add --name azure-devops
Unable to get extension index.
Response body does not contain valid json. Error detail: check_hostname requires server_hostname

**Environment summary**

az version
{
"azure-cli": "2.27.1",
"azure-cli-core": "2.27.1",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
}
**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.