Skip to content

Impossible to install any extensions #29630

Description

@eltitano

Describe the bug

You cannot install extensions. Some registry entry is missing:
path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
FileNotFoundError: [WinError 2]

Seems to be Python related.

Related command

az extension add --name XY, i.e. az extension add --name azure-iot

Errors

directory, _ = winreg.QueryValueEx(key, shell_folder_name)

Issue script & Debug output

directory, _ = winreg.QueryValueEx(key, shell_folder_name)

Expected behavior

az extension add --name azure-iot -> SUCCESS

Environment Summary

azure-cli 2.62.0

core 2.62.0
telemetry 1.1.0

Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1

Additional context

Love you guys. Made my day...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions