-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
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
PublicClientApplicationinstance withenable_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.