Closed roshan-sy closed 2 years ago
@roshan-sy
I don't think it is a good idea to try every Azure CLI account, as this may cause unexpected user credential to be used.
Instead, only the default/selected (subscription, tenant, user) combination should be used to get an access token. If that token doesn't have access, we should explicitly switch account with az account set
.
Maybe good next time to have a good PR description. Now it is not clear to me:
In my case I am still not able to use AAD authentication against Azure DevOps. Using az cli 2.30.0 and devops extension 0.22. Also see https://github.com/Azure/azure-cli/issues/20529
And ensure that an issue is linked.
I just processed the instructions (https://github.com/Azure/azure-devops-cli-extension/blob/master/doc/dev_setup.md) to start developing the extension locally. And this installed version 0.23 which seems to work 🥳
Maybe good next time to have a good PR description.
Completely agree.
Please make sure the code is following contribution guidelines in CONTRIBUTING.md