pyapacheatlas.core.msgraph.MsGraphClient.email_to_id#

MsGraphClient.email_to_id(email, api_version='v1.0')#

Based on email address, look up the user in Azure Active directory. It’s set to exact match on the mail field of the graph user response.

Parameters

email (str) – The email address of the user.

Returns

The AAD object id of the user principal name.

Return type

str