我正在尝试访问用户在他们自己的 domain-my.sharepoint.com
中创建的文档库,根据我推断的文档,方法是
https://graph.microsoft.com/beta/sites/domain-my.sharepoint.com/drives
作为驱动器映射到文档库(?)
我可以在 domain.sharepoint.com
上使用它,但无法在 domain-my.sharepoint.com
上使用
内容如下:
{
"error": {
"code": "invalidRequest",
"message": "Provided id is not suitable for the current host",
"innerError": {
"request-id": "09c5722c-cfc3-4589-ba76-e57c44590d16",
"date": "2017-06-27T06:53:59"
}
}
}
我们将不胜感激。
最佳答案
我相信您正在寻找的是 OneDrive endpoint .您可以使用 https://graph.microsoft.com/v1.0/me/drive
/
drive
关于sharepoint-online - 获取 domain-my.sharepoint.com 的文档库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44774017/