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

AzurePowerShellCredential fails to generate token due to deprecation message in Az 12.1.0 #5843

Open
KarishmaGhiya opened this issue Jul 24, 2024 · 1 comment
Assignees
Labels
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

Comments

@KarishmaGhiya
Copy link
Member

JS SDK has a bug in which the deprecation error message from Az interferes with getting the token. So there are essentially 2 things to look out for -

Make sure any kind of warning message doesn't interfere with parsing and returning the access token
Update the az command to use the -SecureString flag for returning the access token.

Related issue - Azure/azure-sdk-for-js#30356

Copy link

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

@github-actions github-actions bot added 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 Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants