Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get ad user using email address microsoft graph C#

// Retrieve a user by id
var user  = await graphClient
    .Users["00000000-0000-0000-0000-000000000000"]
    .Request()
    .GetAsync();

// Retrieve a user by userPrincipalName
var user  = await graphClient
    .Users["user@tenant.onmicrosoft.com"]
    .Request()
    .GetAsync();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ad #user #email #address #microsoft #graph
ADD COMMENT
Topic
Name
3+5 =