title: Obtaining Azure AD token with Grant_Type=password in fiddler
body: <p>I was wondering if it is possible to obtain azure ad token in fiddler for a specific user with grant_type=password in fiddler.</p>
  
  <p>I've followed <a href="https://github.com/nordvall/TokenClient/wiki/OAuth-2-Resource-Owner-Password-Credentials-grant-in-AzureAd" rel="nofollow noreferrer">THIS</a> wiki in Github, but I can't get it to work.</p>
  
  <p>I get this error message:</p>
  
  <blockquote>
    <p>AADSTS50034: To sign into this application the account must be added to the f2f535e0-294f-4704-befc-8ce754f10bd7 directory.</p>
  </blockquote>
  
  <p>And i know i have added the account because that's the global admin account which is owner over the AD.</p>
  
  <p>Any ideas on what i'm doing wrong.</p>
  
  <p>This is what i'm doing:</p>
  
  <pre><code>POST: https://login.microsoftonline.com/f2f535e0-294f-4704-befc-8ce754f10bd7/oauth2/token
  
  Content-Type: application/x-www-form-urlencoded 
  Host: login.microsoftonline.com
  
  grant_type=password&amp;resource=&lt;my application app id&gt;&amp;client_id=&lt;my application client id&gt;&amp;username=&lt;my account&gt;&amp;password=&lt;mypassword&gt;
  </code></pre>