1

I am trying to access an excel worksheet from Microsoft Graph API but receiving the error:

"Could not obtain a WAC access token".

The permissions is attached in the image

enter image description here

and the URL I have built to try and get to the worksheets/create a session is this

GET https://graph.microsoft.com/v1.0/sites/<site id>/drives/<drive id>/root:/TEMP/Book.xlsx:/workbook/createSession
user2250152
  • 14,658
  • 4
  • 33
  • 57
Wragnam
  • 19
  • 2

1 Answers1

0

According to the documentation you need delegated permission Files.ReadWrite.

Application permissions are not supported. What I know application permissions are not supported for working with excel workbooks (/workbook/xxx endpoints).

user2250152
  • 14,658
  • 4
  • 33
  • 57