Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS54005

OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token.

Alternative forms: 54005

Code AADSTS54005 · An issue reported by Microsoft Entra ID.

OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.