You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidRequest - Request is malformed or invalid. - The issue arises because there was something wrong with the request to a certain endpoint. The suggestion to this issue is to get a fiddler trace of the error occurring and looking to see if the request is properly formatted or not.
This error is returned from WAM, and our code indicates it should be resolved by make a new interactive call (we are returning Response_Status.Status_InteractionRequired). If a new interactive call cannot resolve the issue, it is an issue in our team or WAM team.
If you were asking why we received InteractionRequired, I'd say there would be so many reasons such as have not logged in for a long time or some security considerations. If you can collect WAM logs, WAM team can tell. @jiasli , I remember previously you changed your logic when seeing Status_InteractionRequired you should make a new interactively call, is that working? Are you still receiving such kind of errors?
Describe the bug
WAM fails for MSA (Microsoft Account): AADSTS9002313: Invalid request. Request is malformed or invalid.
To Reproduce
With
enable_pii_log
turned on (Azure/azure-cli#28954):The token request for
organizations
is successful, but fails for a specific tenantTENANT_ID
.According to https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes,
AADSTS9002313
seems to be caused by a request formatting issue on the client side:Expected behavior
WAM should succeed for MSA.
What you see instead
WAM fails for MSA
The MSAL Python version you are using
Additional context
This issue may be related to AzureAD/microsoft-authentication-library-for-dotnet#4696, but the error message is different.
The text was updated successfully, but these errors were encountered: