Azure / Azure/azure-cli

Azure CLI - No output on command prompt

Open
#29,418 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM Auto-Assign Azure CLI Team customer-reported potential-pruning question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

https://github.com/user-attachments/assets/53b5172a-b377-4d93-8d8c-2e74eb65d9b2

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.