title: The client application has requested access to resource 'https://outlook.office365.com'. This request has failed
body: <p>I am trying to test the sample code from office365 API, I could login to my account but after that i would always get this exception</p>
  
  <hr>
  
  <p>AuthenticationFailedException was caught</p>
  
  <p>AADSTS65005: The client application has requested access to resource '<a href="https://outlook.office365.com" rel="noreferrer">https://outlook.office365.com</a>'. This request has failed because the client has not specified this resource in its requiredResourceAccess list.</p>
  
  <p>Trace ID: 7a39b0bd-1738-418f-984a-feffae5b5d9b</p>
  
  <p>Correlation ID: 16da7c7f-9f0c-468f-a560-a51b1ac9b3bf</p>
  
  <p>Timestamp: 2014-07-09 07:36:34Z</p>
  
  <hr>
  
  <p>This is the code that I have been testing this code is generated by the API.</p>
  
  <p><code>Authenticator authenticator = new Authenticator();
  var authInfo = await authenticator.AuthenticateAsync("https://outlook.office365.com");
  </code></p>
  
  <p>please help me or point-out what I'm doing wrong, this is my first time developing in office365 please help and thank you.</p>