title: Unable to access file via MS Graph API, but works via Graph Explorer
body: <p>An excel file is shared from User A's Onedrive (personal folder, business OneDrive) to user B.
  I can access it via regular means as user B (via link etc.)</p>
  <p>If I run this call in MS Graph Explorer it works as expected for both users:</p>
  <p><code>GET https://graph.microsoft.com/v1.0/users/5fb16e7a-e5a5-47f6-91b1-e4613327c13b/drive/root:/Shared/demo.xlsx:/workbook/worksheets/Sheet1/range(address='A1:B4')?$select=text</code></p>
  <p>This returns the same for both user A and B:</p>
  <pre><code>{
      &quot;@odata.context&quot;: &quot;https://graph.microsoft.com/v1.0/$metadata#workbookRange&quot;,
      &quot;@odata.type&quot;: &quot;#microsoft.graph.workbookRange&quot;,
      &quot;@odata.id&quot;: &quot;/users('5fb16e7a-e5a5-47f6-91b1-e4613327c13b')/drive/root/workbook/worksheets(%27%7B096996EB-0C8C-4BA4-8C96-DEE0AE8C5B97%7D%27)/range(address=%27A1:B4%27)&quot;,
      &quot;text&quot;: [
          [
              &quot;Column1&quot;,
  </code></pre>
  <p>... etc</p>
  <p><strong>I have written an Angular app</strong>, registered it and use it to access the Excel file (and users Calendar).
  But when I run the app as User B, I get this response:</p>
  <pre><code>{
    &quot;statusCode&quot;: 404,
    &quot;code&quot;: &quot;itemNotFound&quot;,
    &quot;message&quot;: &quot;The resource could not be found.&quot;,
    &quot;requestId&quot;: &quot;26d9fb06-99eb-4e2a-8dae-7a42012de4b9&quot;,
    &quot;date&quot;: &quot;2020-07-27T10:10:58.000Z&quot;,
    &quot;body&quot;: &quot;{\&quot;code\&quot;:\&quot;itemNotFound\&quot;,\&quot;message\&quot;:\&quot;The resource could not be found.\&quot;,\&quot;innerError\&quot;:{\&quot;date\&quot;:\&quot;2020-07-27T12:10:58\&quot;,\&quot;request-id\&quot;:\&quot;26d9fb06-99eb-4e2a-8dae-7a42012de4b9\&quot;}}&quot;
  }
  </code></pre>
  <p>Console says:
  <strong>Failed to load resource: the server responded with a status of 404 (Not Found)</strong></p>
  <p>The app works for User A. Also the Calendar access code work for both A and B.</p>
  <p>I have tried a lot of different things - but I cannot see what is wrong!
  Any ideas?</p>