【发布时间】:2020-10-22 21:22:28
【问题描述】:
我在 Pulling Excel.xlsx workbook from Sharepoint site using Microsoft Graph API 的提示下已经走了很长一段路,但现在我被困住了,希望能得到一些帮助。
我想从 Power Automate 流中调用 Graph API Excel 端点,首先我在 Graph Explorer 中进行测试,但不能超出一点。
什么有效(并确认文件的“mimeType”是“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”):
https://graph.microsoft.com/v1.0/sites/<tenantid>.sharepoint.com:/sites/<siteid>:/lists/<listid>/items/19/driveitem
但是当我尝试这个时:
https://graph.microsoft.com/v1.0/sites/<tenantid>.sharepoint.com:/sites/<siteid>:/lists/<listid>/items/19/driveitem/workbook
...它会产生错误:
{
"error": {
"code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
"message": "The parameter name path is not valid.",
"innerError": {
"date": "2020-10-22T08:04:16",
"request-id": "aad38960-538d-4a5b-b3c6-097d19f07b09",
"client-request-id": "a029dea8-f9f9-9a04-d4a3-7901be8d1eca"
}
}
有什么建议吗?
谢谢! P
【问题讨论】:
标签: excel api sharepoint graph