Skip to main content

AADSTS40009: Federated provider could not redeem the user's refresh token

The federated provider could not redeem the user's refresh token.

What to check​

  1. Start a fresh interactive sign in and ask the provider administrator to check its token logs if it fails again.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The lookup gives only the general provider error. Use the full response to identify the failed token exchange.

Microsoft remediation: Ask the external identity provider's administrator to investigate the response.

Open AADSTS40009 in Microsoft’s lookup