a guest Jan 29th, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- private static GraphServiceClient GetAuthenticatedGraphClient(IConfigurationRoot config, string userName, SecureString userPassword)
- var authenticationProvider = CreateAuthorizationProvider(config, userName, userPassword);
- var graphClient = new GraphServiceClient(authenticationProvider);
- return graphClient;
RAW Paste Data