Azure / Azure/azure-cli

Failed to install any extension after upgrading to 2.66 version

Open
#30,374 4 comments 0 reactions 0 assignees View on GitHub
bug Service Attention Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

When upgrading az cli to latest stable version 2.66, it failed to install any extension with error like complaining C:\Users\{user}\.azure\cliextensions

### Related command

az extension add -n XXX

### Errors

It's complaining the folder can't be removed or there is some content in it which need to be manually removed, but that folder doesn't exist at all.

### Issue script & Debug output

NA

### Expected behavior

extension could be installed successfully.

### Environment Summary

2.66

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