Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50165

The token encrypting algorithm '{algorithm}' requested by the application isn't supported for this type of token

Alternative forms: 50165

Code AADSTS50165 · An issue reported by Microsoft Entra ID.

The token encrypting algorithm '{algorithm}' requested by the application isn't supported for this type of token. This indicates the application is misconfigured.

Troubleshooting and diagnostic links

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