I ran into the same problem. Here is what I did to resolve it:
1st, Make sure you are allowing access tokens:
2nd, Make sure you are giving the app the right scope permissions. In my case i'm giving apiaccess
After you make the changes, I've found that Azure Entra and B2C take a while for changes to propagate so give it a try in a few minutes. Hope that helps!