Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50164

The supplied access token was not issued for the purpose for which it is being used

Alternative forms: 50164

Code AADSTS50164 · An issue reported by Microsoft Entra ID.

The supplied access token was not issued for the purpose for which it is being used. Expected a token with purpose '{name}'.

Troubleshooting and diagnostic links

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