User.Identity.Name is blank. RRS feed

  • Question

  • User1278872889 posted

    Hi I have created webapplication with Azure. I have used multi tenant single sign on with azure AD.  

    I have two types of user in azure AD 1.  "New user in your organization" and 2. "User with an existing Microsoft account".

    Authentication is working fine for both the user, for both user request is authenticated.

    for type 1 user i am able to get UserProfile. but for type=2 i am getting null in user profile (note: request is authenticated).

    even for type 2 user User.Identity.Name is also blank (note: authentication is done from AD and request is authenticated).  

    Tuesday, April 28, 2015 9:25 AM