title: AAD Graph API - check if user must change password
body: <p>I create new user in Azure Active Directory with flag "ForcePasswordChange" set to true.
  When I try to login to AAD using API an error "Invalid username or password" occur.
  How can I check (using Graph API) if user must change password before login?</p>
  
  <p>If I use Microsoft AAD authentication window after login I'm redirected to page where I have to change my password, but in our company we cannot use that window, so we need to implement own login window.</p>
  
  <p>Code I use to login:</p>
  
  <pre><code>string clientId = "client guid";
  UserCredential uc = new UserCredential("username", "password");
  var result = authContext.AcquireToken("resource", clientId, uc);
  </code></pre>
  
  <p>Thanks</p>