var filterString = $"Identities/any(id:id/Issuer eq 'abc.onmicrosoft.com' and id/IssuerAssignedId eq 'abc@xyz.com')";
var officeUser = await graphClient.Users
.Request()
.Filter(filterString)
.Select(e => new
{
e.DisplayName,
e.Mail,
e.Id
})
.GetAsync();
No comments:
Post a Comment