title: AccessDenied Either scp or roles claim need to be present in the token
body: <p>I am trying to get an access token to upload large files as <a href="https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online" rel="nofollow noreferrer">described in the docs</a>.  </p>
  
  <p>I am using client credentials grant flow to get access token <a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow" rel="nofollow noreferrer">per the documentation</a>. I got an access token using that flow. </p>
  
  <p>I tried to use that access token with this URI:</p>
  
  <pre><code>/v1.0/users/{userId}/drive/items/{itemId}/createUploadSession  
  </code></pre>
  
  <p>but it gives me an error that "AccessDenied Either scp or roles claim need to be present in the token"</p>
  
  <p>I have granted admin permission for the app. I have tried this flow in both postman and in coding but both give the same error.</p>