Python - Infos regarding current logged in user.

Dyt13 206 Reputation points
2022-09-05T09:21:25.5+00:00

Hi,

I have set up a webapp with authentification in Azure.
I'd like to retrieve some basic information about the logged in user on the server side (python).

pseudo-code


from azure.identity import InteractiveBrowserCredential

credential = InteractiveBrowserCredential()
==> Is there a way to know who is the user logged in at this step + retrieve basic info like the one available in the user profile view available in the portal ?


Thx for your help !

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,831 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,391 questions
{count} votes