You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce redundant warning messages in azure-cli credential provider (#410)
## Changes
This warning is a bit noisy: in the happy path, we print it multiple
times, and even if we don't use Azure CLI auth, we may print it anyways.
Also, it will be printed always when using account-level authentication.
This PR reduces the noise for this warning by only printing it when we
are certainly going to use Azure CLI auth, authenticating to a
workspace, and can't get the subscription ID (e.g. because it is not
configured).
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [x] Ran locally: with accounts client, no warning is printed, and with
workspace client, only one warning is printed.
0 commit comments