79694723

Date: 2025-07-08 19:19:32
Score: 1.5
Natty:
Report link

In my case this was an issue with scopes and what I was requesting from my application. What fixed this exact error for me: In my scenario I was requesting the .default scope of a 3rd party API which I had registered in Azure Portal. I was using MSAL for .net wpf and requesting .default scope but got this error. To fix, I needed to define at least one scope in both API Permissions and Expose API sections of the app registration. Once I defined any scope (called "test" for example). I was issued the JWT I was expecting and .default was expanded to "test" in the resulting token.

More reading here: https://learn.microsoft.com/en-us/entra/identity-platform/scopes-oidc#the-default-scope

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NeverSuite