Azure Function App - gives me the user logged
问题 I need to create a simple Azure Function App that gives me the username who access it. I have enabled Azure Active Directory "Authentication/Authorization" and when I access the function URL it prompts for the user and I can login well In Function App log I want to see the user who have logged. How can I do it? 回答1: App Service passes user claims to your application by using special headers. External requests aren't allowed to set these headers, so they are present only if set by App Service.