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