Azure-Samples / ms-identity-python-webapp

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

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

Closed rjouhann closed 3 years ago

rjouhann commented 3 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 3 years ago

You will need two things:

rjouhann commented 3 years ago

thanks!