AADSTS90056: App used the wrong method or endpoint to redeem the code
The app used the wrong method or endpoint to redeem the code.
What to check
- Send the token exchange as a
POSTto/tokenafter obtaining the code from/authorize.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The lookup reports a missing resource, while the Learn entry describes how to redeem a code. Check the actual response and verify the requested resource if it reports that it was not found.
Microsoft does not provide a separate remediation in the lookup.