none
Get Login Name in Provider Hosted App Deployed to Azure RRS feed

  • Question

  • Hi,

    I need to get the login name of the currently logged in user in a Provider Hosted app which is deployed to Azure App Service.

    I am using HttpContext.User.Identity.Name but it is returning my Display Name and NOT my login name.

    I need the name in this format xxxxx@yyyyy.onmicrosoft.com


    Prateek Srivastava


    Tuesday, October 27, 2020 10:16 AM

All replies