I am getting the An error occurred. Pip failed with status code 3221225477. Use --debug for more information. When i run az extension add --name serviceconnector-passwordless
Related command
az extension add --name serviceconnector-passwordless
Errors An error occurred. Pip failed with status code 3221225477. Use --debug for more information.
Expected behavior Successfully installation of extension
Environment Summary
azure-cli 2.69.0
core 2.69.0
telemetry 1.1.0
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\NicholasNamacha.azure'
Extensions directory 'C:\Users\NicholasNamacha.azure\cliextensions'
Python Windows 3.12.8 tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04 MSC v.1942 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Update the python path in PowerShell as mentioned in GitHub issue:
$ENV:PYTHONPATH = "C:\\Program Files\\Microsoft SDKs\\Azure\\CLI2"
Remove the extension serviceconnector-passwordless
and then add it again.
Run below commands:
az upgrade
az extension remove --name serviceconnector-passwordless
az extension add --name serviceconnector-passwordless --upgrade
Able to install and add the serviceconnector-passwordless
connector.
C:\Users\uname>az extension add --name serviceconnector-passwordless --upgrade
Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only.
- Installing ..
List installed extensions:
C:\Users\uname>az extension list
Unable to load extension 'serviceconnector-passwordless: FabricSql'. Use --debug for more information.
[
{
"experimental": false,
"extensionType": "whl",
"name": "containerapp",
"path": "C:\\Users\\uname\\.azure\\cliextensions\\containerapp",
"preview": true,
"version": "0.3.53"
},
{
"experimental": false,
"extensionType": "whl",
"name": "serviceconnector-passwordless",
"path": "C:\\Users\\uname\\.azure\\cliextensions\\serviceconnector-passwordless",
"preview": false,
"version": "3.3.0"
}
]
Check the installed version of Service Connector passwordless
extension:
C:\Users\uname>az version
{
"azure-cli": "2.62.0",
"azure-cli-core": "2.62.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"containerapp": "0.3.53",
"serviceconnector-passwordless": "3.3.0"
}
}