Skip to content

[Bug] acquire_token_silent_with_error returns None with WSL broker #809

Open
@jiasli

Description

@jiasli

Describe the bug
acquire_token_silent_with_error returns None with WSL broker (#766).

To Reproduce
WSL version:

> wsl --version
WSL version: 2.4.13.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.3775

The initial acquire_token_interactive with organizations can return the access token as expected. However, when calling acquire_token_silent_with_error with a tenant ID, including home tenant (Microsoft tenant 72f988bf-86f1-41af-91ab-2d7cd011db47), the result is None.

Expected behavior
acquire_token_silent_with_error should work with a tenant ID.

What you see instead
acquire_token_silent_with_error returns None.

The MSAL Python version you are using
Latest dev branch.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions