@nelson have you examined your token? Does the email and preferred_username appear on it? Example can be seen here
I have not tried with MS Entra id, but this should work for any oidc. Please confirm