public void TestAuthenticate() { AuthenticationResult authenticationResult = _graphApiClient.AuthenticateAsync().Result; Assert.AreNotEqual(null, authenticationResult); Assert.AreEqual(false, string.IsNullOrEmpty(authenticationResult.AccessToken)); System.Diagnostics.Debug.WriteLine($"Received authentication token: {authenticationResult.AccessToken}"); }