![]() Message: Resource could not be discovered. ![]() ![]() System.AggregateException: One or more errors occurred. Using ( StreamReader sr = new StreamReader( Photo)) This will fail: var Photo = graphClient. Authorization = new AuthenticationHeaderValue( "bearer ", authenticationResult. GraphServiceClient graphClient = new GraphServiceClient( new DelegateAuthenticationProvider( AcquireTokenAsync( graphApiResource, clientCredential). AbsoluteUri ĪuthenticationContext authenticationContext = new AuthenticationContext( authority) ĬlientCredential clientCredential = new ClientCredential( clientID, clientSecret) ĪuthenticationResult authenticationResult = authenticationContext. ![]() String authority = new Uri( microsoftLogin, tenantID).
0 Comments
Leave a Reply. |