Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] AzureCliCredential with specified tenant Id does not work #23158

Closed
tomas-pajurek opened this issue Aug 6, 2021 · 1 comment · Fixed by #23159
Closed

[BUG] AzureCliCredential with specified tenant Id does not work #23158

tomas-pajurek opened this issue Aug 6, 2021 · 1 comment · Fixed by #23159
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@tomas-pajurek
Copy link
Contributor

tomas-pajurek commented Aug 6, 2021

There is bug in the generating command line arguments for Azure CLI in AzureCliCredential:

_ => $"az account get-access-token --output json --resource {resource} -tenant {tenantId}"

Instead of --tenant there is -tenant argument which leads to following error:

unrecognized arguments: xxx

PR: #23159

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 6, 2021
@jsquire jsquire added Azure.Identity Client This issue points to a problem in the data-plane of the library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team labels Aug 6, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 6, 2021
@jsquire
Copy link
Member

jsquire commented Aug 6, 2021

Thank you for your feedback. Tagging and routing to the team members best able to assist.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants