关于使用office365 E3 的 Microsoft Graph API来操作Excel工作簿

zzz 1 Reputation point
2021-09-02T14:21:34.753+00:00

当我使用 Microsoft Graph API 打开Excel工作簿时,出现错误,资源找不到。
代码如下:
WorkbookWorksheetCollectionPage worksheets = graphClient.me().drive().items("{id}").workbook().worksheets()
.buildRequest()
.get();

错误如下:

404 item not found

128753-image.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,086 questions
0 comments No comments
{count} votes