[英]Working with Sharepoint Online Excel files in Graph API
我按照使用 Microsoft Graph API 从 Sharepoint 站点拉取 Excel.xlsx 工作簿的提示走得很远,但现在我被卡住了,希望得到一些帮助。
我想从 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"
}
}
有什么建议吗?
谢谢! 磷
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.