Azure / Azure/azure-cli

Failure authenticating using Azure Key Vault in debug mode locally

Open
#20,071 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az account get-access-token`

**Errors:**
```
Get Token request returned http error: 400 and server response: {"error":"invalid_grant","error_description":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2020-06-10T01:12:58.2180537Z and was inactive for 90.00:00:00.\r\nTrace ID: a04d5d23-db60-44ff-b017-d495d2f23800\r\nCorrelation ID: 6e566a15-4dcf-4236-b9e0-429c0ae283b3\r\nTimestamp: 2021-10-27 15:49:49Z","error_codes":[700082],"timestamp":"2021-10-27 15:49:49Z","trace_id":"a04d5d23-db60-44ff-b017-d495d2f23800","correlation_id":"6e566a15-4dcf-4236-b9e0-429c0ae283b3","error_uri":"https://login.microsoftonline.com/error?code=700082"}
Traceback (most recent call last):
pip-install-yf22vmg2\knack\knack\cli.py, ln 215, in invoke
...
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az account get-access-token --output {} --resource {}`

## Expected Behavior

## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.6.0

Extensions:
dev-spaces 1.0.5

```
## 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.