Skip to main content

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​

  1. Send the token exchange as a POST to /token after 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.

Open AADSTS90056 in Microsoft’s lookup