title: Azure Python Flask Get Email id of the user logged in
body: <p>I created the sample Python Flask Webapp by following the below link.</p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-python?tabs=bash" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-python?tabs=bash</a></p>
  
  <p>I also added the AD Authentication for the Flask application by enabling Authentication in the Settings of the App Services. Now the app works only when the user is logged in and cannot access otherwise. </p>
  
  <p>I would want to fetch the email id if the user who is logged in. I tried checking online but unable to find a way to get the email address of the user.</p>
  
  <p>Any help is really appreciated.</p>