I am writing service application which sends mails from shared mailboxes. MS documentation specifies how to get user but it gives only HTTP request sample. For signed-in user it specifies C# sample
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var user = await graphClient.Me.Request().GetAsync();
I would like to use GraphServiceClient to access specific user
GET https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}
