title: Read emails from exchange online (Office 365) through windows forms application
body: <p>I am trying to read emails from my O365 mailbox through a windows forms application. I want my application to read emails from O365 mailbox using my username and password.
  Is it possible to access the O365 api without registering the application on the Azure? (only using user credentials)</p>
  
  <p>I followed this article on msdn,  <a href="https://msdn.microsoft.com/en-us/library/office/dn567668(v=exchg.150).aspx" rel="noreferrer">https://msdn.microsoft.com/en-us/library/office/dn567668(v=exchg.150).aspx</a>
  I have an issue in this line:</p>
  
  <pre><code>result = context.AcquireToken(resourceId, ClientID, _returnUri); // parameters are no longer valid in this method
  </code></pre>