Azure / Azure/azure-cli

az login opens empty Chrome window in Ubuntu 20.04

Open
#22,829 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad Auto-Assign customer-reported
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

**Related command**
az login

**Describe the bug**
az login opens empty Chrome browser window in Ubuntu 20.04. Location bar is empty. Browser shows default content (Google search).

**To Reproduce**

```
$ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
$ az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
```

Browser shows empty location bar, default page.

**Expected behavior**
browser opens auth page

**Environment summary**
azure-cli 2.37.0-1~focal installed using the recommended installation bash script

**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.