Workbook Excel API for personal OneDrive accounts is not working

Abhishek 10 Reputation points
2024-06-04T17:12:21.3133333+00:00

This API https://learn.microsoft.com/en-us/graph/api/workbook-createsession?view=graph-rest-1.0&tabs=http was working fine for Personal OneDrive accounts but it has stopped today on 6/4/2024.

It is returning with the following error. The same error happens with Open Graph Explorer

{"error":{"code":"FileOpenUserUnauthorized","message":"You do not have permissions to open this file in the browser.","innerError":{"code":"unauthorizedUncategorized","message":"Required authentication information for the resource is either missing or invalid.","innerError":{"code":"FileOpenUserUnauthorized","message":"You do not have permissions to open this file in the browser."},"date":"2024-06-04T16:46:42","request-id":"f2dbf63c-b577-4067-9e4f-c3066299d6ff","client-request-id":"f2dbf63c-b577-4067-9e4f-c3066299d6ff"}}}

Anyone ran into this? Is there any workaround/solution other than not using sessions?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,188 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,638 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
932 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,671 questions
{count} votes