AADSTS54005: OAuth authorisation code has already been used
The OAuth authorisation code has already been used.
What to check
- Start a new authorisation or use an existing valid refresh token instead of submitting the same code again.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The OAuth authorisation code has already been used.
Microsoft does not provide a separate remediation in the lookup.