【发布时间】:2021-10-27 12:06:32
【问题描述】:
我正在尝试使用 Graph API 将测试文件上传到 Sharepoint 站点。我正在努力将 Graph API 正确指向私有组的 Shared Documents 文件夹中的某个点。
假设主机是 devsite.sharepoint.com,私有组是“Development”。在共享文档中有一个名为“TestFolder”的文件夹。
Private Group with folder "TestFolder"
通过图形资源管理器的反复试验,我已成功导航到使用的私人组。
https://graph.microsoft.com/v1.0/sites/devsite.sharepoint.com:/sites/Development
我尝试使用以下方法访问共享文档文件夹失败
https://graph.microsoft.com/v1.0/sites/devsite.sharepoint.com:/sites/Development/drive/root
https://graph.microsoft.com/v1.0/sites/devsite.sharepoint.com:/sites/Development/Shared%20Documents/TestFolder
全部返回
Code: BadRequestMessage: Url specified is invalid
要么
The provided path does not exist, or does not represent a site
不幸的是,图形 API 网站文档并没有产生任何有价值的东西,我们将不胜感激!
【问题讨论】:
标签: azure microsoft-graph-api sharepoint-online