AzurePowerShellCredential fails to generate token due to deprecation message in Az 12.1.0 #5843
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
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
The text was updated successfully, but these errors were encountered: