This is autogenerated. Please review and update as needed.
Describe the bug
Cannot execute: az login --identity
while "az login" works
Command Nameaz login
Errors:
HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /metadata/identity/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f04bde3e430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Traceback (most recent call last):
python3/dist-packages/urllib3/connection.py, ln 159, in _new_conn
conn = connection.create_connection(
...
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /metadata/identity/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f04bde3e430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
This is autogenerated. Please review and update as needed.
Describe the bug
Cannot execute: az login --identity while "az login" works
Command Name
az login
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login --identity
Expected Behavior
Environment Summary
Additional Context
Copy from
https://github.com/Azure/azure-cli/issues/25194