Azure / Azure/azure-cli

[AzCLI] Track MSAL update for az login crash in AgOS sandbox

Open
#34,055 1 comment 0 reactions 1 assignee Claimed by @isra-fel View on GitHub
act-identity-squad feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Preconditions

- [x] No need to upgrade Python SDK or the Python SDK is ready.

### Related command

## Description

`az login` is failing in the AgOS Selfhost BYOD sandbox scenario, with Python crashing while processing the MSAL authentication flow.

The issue is being tracked in ADO:
Bug 63569737 - [AgOS Selfhost][BYOD] Az Login under sandbox is failing with python crashing on a MSAL STATUS_STOWED_EXCEPTION error

Based on the current investigation, the failure occurs while MSAL is processing the notification from Windows Accounts Control.

Azure CLI is currently waiting for an updated MSAL Python release. Once the MSAL change is available, Azure CLI needs to consume the update and validate the fix before shipping.

## Azure CLI tracking

- [ ] Wait for the MSAL fix / new Python release
- [ ] Determine whether Azure CLI requires only an MSAL dependency update or any additional code changes
- [ ] Update MSAL dependency in Azure CLI if required
- [ ] Validate `az login` in the affected AgOS Selfhost/BYOD sandbox scenario
- [ ] Include the validated update in an Azure CLI release

## Reference

ADO Bug 63569737
https://[microsoft.visualstudio.com/OS/_workitems/edit/63569737](https://microsoft.visualstudio.com/OS/_workitems/edit/63569737)

### Resource Provider

MSAL

### Description of Feature or Work Requested

TBD

### Minimum API Version Required

No

### Swagger PR link / SDK link

No

### Request Example

_No response_

### Target Date

TBD

### PM Contact

Scott Addie

### Engineer Contact

Ashok Kumar Ramakrishnan

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.