Skip to content

Azure CLI - No output on command prompt #29418

@sachinsatav

Description

@sachinsatav
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 show

Errors

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

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues 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 that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions