private static async Task RunAsync() { SampleConfiguration config = SampleConfiguration.ReadFromJsonFile("appsettings.json"); var appConfig = config.PublicClientApplicationOptions; var app = PublicClientApplicationBuilder.CreateWithApplicationOptions(appConfig) .Build(); var httpClient = new HttpClient(); MyInformation myInformation = new MyInformation(app, httpClient, config.MicrosoftGraphBaseEndpoint); await myInformation.DisplayMeAndMyManagerAsync(); }