Skip to content

Failed to install any extension after upgrading to 2.66 version #30374

@RichardSunMS

Description

@RichardSunMS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions