Skip to content

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

@KarishmaGhiya

Description

@KarishmaGhiya

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

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions