Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
The recently-released feature to allow authenticating to ADO via Entra ID instead of a PAT does not support just picking up credentials from your already logged-in Azure CLI session. This could be done via DefaultAzureCredential (https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) or AzureCLICredential, and could potentially replace the need to explicitly use ManagedIdentityCredential.
Community Note
Description
The recently-released feature to allow authenticating to ADO via Entra ID instead of a PAT does not support just picking up credentials from your already logged-in Azure CLI session. This could be done via DefaultAzureCredential (https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) or AzureCLICredential, and could potentially replace the need to explicitly use ManagedIdentityCredential.
0000