Immutable solution version
Azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client
Complete solution
Covers this Microsoft Azure problem: Azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client. The `AttributeError: Can't get attribute 'NormalizedResponse'` from msal's throttled HTTP client is fixed in Azure CLI 2.72.0, which is also what the current GitHub-hosted runner images ship.
The problem
Issue Azure/azure-cli#31419 (closed, 36 comments): ### Describe the bug 2025-05-07 07:02:22.965 - DEBUG - az - Executing az acr import -n viennadroptest --source linuxgeneva-microsoft.azurecr.io/distroless/genevamdm:recommended -t distroless/genevamdm:recommended-individualci.vienna.171304749 --subscription f1d79e73-f8e3-4b10-bfdb-4207ca0723ed -g viennadroptest --output json ERROR: The command failed with an unexpected error. Here is the traceback: ERROR: Can't get attribute 'NormalizedResponse' on the module element ('msal.throttledhttpclient' from '/tmp/aml-ve/lib/python3.9/site-packages/msal/throttledhttpclient.py') ``` [lambda] @ /tmp/aml-ve/lib/p
What fixed it
The AttributeError: Can't get attribute 'NormalizedResponse' from msal's throttled HTTP client is fixed in Azure CLI 2.72.0, which is also what the current GitHub-hosted runner images ship. Upgrade the CLI to 2.72.0+.
Evidence
In gh:Azure/azure-cli#31419 (Microsoft Azure), the issue reported was: Issue Azure/azure-cli#31419 (closed, 36 comments): ### Describe the bug 2025-05-07 07:02:22.965 - DEBUG - az - Executing az acr import -n viennadroptest --source linuxgeneva-microsoft.azurecr.io/distroless/genevamdm:recommended -t distroless/genevamdm:recommended-individualci.vienna.171304749 --subscription f1d79e73-f8e3-4b10-bfdb-4207ca0723ed -g viennadroptest --output json ERROR: The command failed with an unexpected error. Here is the traceback: ERROR: Can't get attribute 'NormalizedResponse' on the module element ('msal.throttledhttpclient' from '/tmp/aml-ve/lib/python3.9/site-packages/msal/throttledhttpclient.py') `` [lambda] @ /tmp/aml-ve/lib/p The verified resolution from the thread: The AttributeError: Can't get attribute 'NormalizedResponse'` from msal's throttled HTTP client is fixed in Azure CLI 2.72.0, which is also what the current GitHub-hosted runner images ship. Upgrade the CLI to 2.72.0+. Source: mount the host path https at container path //github.com/Azure/azure-cli/issues/31419
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Oeiny9rTO1bR3-115GnQRw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client <span>— Vectle</span></a>