Get az account to get principal type for legacy auth#5391
Conversation
weikanglim
left a comment
There was a problem hiding this comment.
LGTM. Thanks for landing this cleanly!
|
Thanks for adding tests 👍 |
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
…5378) * Initial plan for issue * Add Microsoft.Automation/automationAccounts resource type support Co-authored-by: vhvb1989 <24213737+vhvb1989@users.noreply.github.com> * update recordings for vsserver test (#5379) * update recordings for vsserver test * vsserver recording * update recordings; remove unique suffix --------- Co-authored-by: Wei Lim <weilim@microsoft.com> * fix string prompt to any (#5386) * fix string prompt to any * cl * deployment-stack: fix null tags handling (#5372) * skip unreliable deployment stack tests (#5387) * Increment CLI version after release (#5389) * Get az account to get principal type for legacy auth (#5391) * Get az account to get principal type for legacy auth * update tests * docs * cl * unit tests * test: omit socket reset errors in recording proxy (#5373) Omits the additional logged error messages when the client closes the connection forcibly in our recording proxy. On Windows, we often see additional error messages logged by the recording proxy when azd exits uncleanly due to test failure. * test: parallelize vs tests (#5393) Run VsServer tests in parallel. Also, 1. Fix flakiness in Test_CLI_EnvCommandsWorkWhenLoggedOut 2. Fix flakiness when multiple Aspire related tests run in parallel Addresses #5392 * refactor: rename evaluateArgsWithConfig to evaluateBuildArgs for clarity (#5369) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vhvb1989 <24213737+vhvb1989@users.noreply.github.com> Co-authored-by: Victor Vazquez <vhvb1989@gmail.com> Co-authored-by: Wei Lim <weilim@microsoft.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
fix: #5390
This change fix finding the principal type when legacy auth is enabled by calling
az account