title: The user or administrator has not consented to use the application - Send an interactive authorization request for this user and resource
body: <p>We're doing <a href="http://scaleablesolutions.com/web-api-authentication-from-javascript/" rel="noreferrer">this</a> CRM Web API project. The project logs-into Dynamics CRM online instance and gets the list of accounts.</p>
  
  <p>The login seems to be happening fine.
  However, the accounts listing is giving the below error:</p>
  
  <blockquote>
    <p>AADSTS65001: The user or administrator has not consented to use the application with ID 'xxxx-xxxxx-xxxx-xxx'. Send an interactive authorization request for this user and resource.
    Trace ID: e3b360d6-39fb-4e61-87d9-26531f30fd7b
    Correlation ID: 9b2cff0c-074e-44fe-a169-77c8061a7312
    Timestamp: 2016-10-18 10:12:49Z</p>
  </blockquote>
  
  <p>The <a href="https://stackoverflow.com/a/34885153/2404470">permissions are properly set</a>:</p>
  
  <p><a href="https://i.stack.imgur.com/5OSxx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5OSxx.png" alt="Azure permissions"></a></p>
  
  <p>What is the problem?</p>