关于使用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 Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.