`az account get-access-token` still v1
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az account get-access-token
**Is your feature request related to a problem? Please describe.**
The problem is quite simple i just cant find any information about it in the docs.
`az account get-access-token` returns v1 token instead of v2 which creates issues for us.
As microsoft has been going away from v1 for a while now, i wonder why `azurecli` still uses `v1`
**Describe the solution you'd like**
Issue v2 tokens.
**Describe alternatives you've considered**
Well, right now i am fighting similar lost battle with `app registrations` where the app still returns `v1` toke when called with curl.
**Additional context**
I am in a `v1` vs `v2` mess and i want to find a single issuer for tokens from azure that we can use for our normal users and service principals.
Contributor guide
Assessment
This issue has not been assessed yet.