When using v2 of the Azure API, in profile() it tries to call /openid/userinfo.
However, according to the passport-azure-ad node package (sorry, this is the best documentation I could find) userinfo does not work with v2, and one needs to extract that information from id_token.