I successfully implement Azure AD B2C and get user's first name and last name but I could not figure out a way to get Job Title or Street Address, Office Number. I follow the following code
[PolicyAuthorize(Policy = "b2c_1_sign_in")]
public ActionResult Claims()
{
Claim displayName = ClaimsPrincipal.Current.FindFirst(ClaimsPrincipal.Current.Identities.First().NameClaimType);
ViewBag.DisplayName = displayName != null ? displayName.Value : string.Empty;
return View();
}
It comes from tutorial https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-web-dotnet/ When I debug the program, I could not find job title or street address. I may need to use AD Graph or something. I check my claim profile on Azure portal. It looks correct. Is there any suggestion?