-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Core} Bump MSAL to 1.35.0b1 #32611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{Core} Bump MSAL to 1.35.0b1 #32611
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR bumps the MSAL (Microsoft Authentication Library) dependency from version 1.34.0b1 to 1.35.0b1 to resolve critical issues with az login that cause the command to hang or fail when network configurations are misconfigured, particularly in managed identity authentication flows.
- Updates MSAL version across all platform-specific requirements files
- Includes both standard MSAL package and MSAL with broker support for Windows
- Picks up upstream fix that removes problematic
getfqdn()call
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/requirements.py3.windows.txt | Updates msal[broker] to 1.35.0b1 for Windows platform |
| src/azure-cli/requirements.py3.Linux.txt | Updates msal to 1.35.0b1 for Linux platform |
| src/azure-cli/requirements.py3.Darwin.txt | Updates msal to 1.35.0b1 for macOS platform |
| src/azure-cli-core/setup.py | Updates both msal and msal[broker] dependencies to 1.35.0b1 with proper platform conditionals |
Review Summary: This PR is well-structured and consistently applies the MSAL version bump across all necessary files. All platform-specific requirements files and the core setup.py have been properly updated. No issues were identified during the review.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fix #31900, IcM 700647529
Related command
az loginDescription
Bump MSAL to 1.35.0b1 to pick up new changes, especially the removal of
getfqdn()for managed identity flow (AzureAD/microsoft-authentication-library-for-python#859), so thataz logindoesn't hang (#31900) or fail (IcM 700647529) with misconfigured network setup.