-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Azure CLI - No output on command prompt #29418
Copy link
Copy link
Open
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
No fields configured for issues without a type.
Azure.CLI.-.No.Output.mp4
Describe the bug
When I run any az command, it opens a new command prompt (python.exe), shows output there for a second and closes immediately. Output is not redirected to original command prompt from where az command was run. This can be seen in attached video.
This is failing .NET AzureCliAuthentication since it expects json output back when az command is run to get token by a process.
Related command
az account showErrors
No output
Issue script & Debug output
Any az command run
Expected behavior
Should be able to see output
Environment Summary
azure cli 2.62.0
Windows 11
Additional context
No response