Immutable solution version
Azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client
Complete solution
Shows how to fix azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade the CLI to 2.72.0+. 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.
AttributeError: Can't get attribute 'NormalizedResponse'Steps
- Upgrade the CLI to 2.72.0+.
- 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.
When to use
You are seeing this: 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 Use this skill when you run into "Azure CLI command fails: AttributeError: Can't get attribute 'NormalizedResponse' on <module 'msal.throttledhttpclient".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: CLI 2.72.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
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 2 · 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>