pyapacheatlas.core.msgraph.MsGraphClient.upn_to_id#

MsGraphClient.upn_to_id(userPrincipalName, api_version='v1.0')#

Based on user principal name, look up the user in Azure Active directory.

Parameters

userPrincipalName (str) – The user principal name of the user.

Returns

The AAD object id of the user principal name.

Return type

str