Azure / Azure/azure-cli

After I install the Azure CLI using winget, the az command is not working at all

Open
#29,280 2 comments 0 reactions 2 assignees Claimed by @bebound View on GitHub
Account act-identity-squad Auto-Assign Azure CLI Team customer-reported question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

After I install the Azure CLI using winget, the az command is not working at all. I have tried all the command of az. It give me the same error "& was unexpected at this time.".
![image](https://github.com/Azure/azure-cli/assets/174153262/8c10b43d-9b5f-4c3f-b95a-d82640015a3f)

### Related command

az

### Errors

& was unexpected at this time.

### Issue script & Debug output

& was unexpected at this time.

### Expected behavior

When I use any az command it will shows me "& was unexpected at this time." this error.
I have Installed Azure CLI by using "winget install -e --id Microsoft.AzureCLI" this command.
After finished installing, I have try the az login command. It shows the error message.

### Environment Summary

& was unexpected at this time.

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