title: How to troubleshoot login process to the OneDrive Business/Corporate?
body: <p>For a two days I can't do login to get authorization code for the app.<br></p>
  
  <p>During the login process, the authentication endpoint says nothing useful, for e.g. unauthorized user or client application or else. It's just redirect me to the <a href="https://login.microsoftonline.com/login.srf" rel="nofollow noreferrer">https://login.microsoftonline.com/login.srf</a> <br></p>
  
  <p>Here is actual login url that I use: <a href="https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&amp;client_id=1dc49e01-ef07-4f66-9413-2ad70401b8c9&amp;redirect_uri=http%3A%2F%2Flocalhost%3A9000%2Foauth.html" rel="nofollow noreferrer">https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&amp;client_id=1dc49e01-ef07-4f66-9413-2ad70401b8c9&amp;redirect_uri=http%3A%2F%2Flocalhost%3A9000%2Foauth.html</a>
  as described in documentation <a href="https://dev.onedrive.com/auth/aad_oauth.htm#step-1-log-in-and-get-an-authorization-code" rel="nofollow noreferrer">https://dev.onedrive.com/auth/aad_oauth.htm#step-1-log-in-and-get-an-authorization-code</a>. <br>
  This is real client id and the application was registered as describe here <a href="https://dev.onedrive.com/app-registration.htm#register-your-app-for-onedrive-for-business" rel="nofollow noreferrer">https://dev.onedrive.com/app-registration.htm#register-your-app-for-onedrive-for-business</a></p>
  
  <p>Could anyone help me with this challenge?</p>