So, I think your doubts have been resolved, because you are not calling this URL endpoint https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/application/calculate
. According to my test, this endpoint does only support Files.ReadWrite
delegated permissions.
And based on our experience, the /me
endpoint will not support application permissions at all. So if you want to call this endpoint, you can modify the code:
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var calculationType = "calculationType-value";
await graphClient.Me.Drive.Items["{driveItem-id}"].Workbook.Application
.Calculate(calculationType)
.Request()
.PostAsync();
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.