Describe the bug
Username password flow (also called Resource Owner Password Credentials flow) fails with WAM.
To Reproduce
Steps to reproduce the behavior:
- Create a
PublicClientApplication instance with enable_broker_on_windows=True
- Login with
acquire_token_by_username_password
Expected behavior
The login should be successful.
What you see instead
> az login --username xxx@xxx.onmicrosoft.com --password xxx
(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614467, Tag: 508609292
Please explicitly log in with:
az login
The MSAL Python version you are using
1.24.1 from #613
Additional context
Using the same user account, acquire_token_by_username_password succeeds if enable_broker_on_windows is set to False.
Describe the bug
Username password flow (also called Resource Owner Password Credentials flow) fails with WAM.
To Reproduce
Steps to reproduce the behavior:
PublicClientApplicationinstance withenable_broker_on_windows=Trueacquire_token_by_username_passwordExpected behavior
The login should be successful.
What you see instead
The MSAL Python version you are using
1.24.1 from #613
Additional context
Using the same user account,
acquire_token_by_username_passwordsucceeds ifenable_broker_on_windowsis set toFalse.