Azure-Samples / ms-identity-python-webapp

A Python web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
298 stars 143 forks source link

How to get the email of the authenticated user? #40

Closed rjouhann closed 4 years ago

rjouhann commented 4 years ago

Hello, I am looking a way to retrieve the user email of the authenticated user. I can get the first and last name, as showing in the sample example but I can't figure out a way to get the email. Thanks for your help! Best Regards, Romain

rayluo commented 4 years ago

You will need two things:

rjouhann commented 4 years ago

thanks!