使用 Microsoft Graph 列出 Microsoft Sharepoint 站点 [英] List Microsoft Sharepoint Sites with Microsoft Graph

查看:54
本文介绍了使用 Microsoft Graph 列出 Microsoft Sharepoint 站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Microsoft Graph 与 Microsoft OneDrive 和 Microsoft Sharepoint 合作,据我所知:

I'm working with Microsoft OneDrive and Microsoft Sharepoint using Microsoft Graph, and as I understood:

从登录用户获取文件列表的 URL OneDrive 是:

Url to get file list from logged in user OneDrive is:

/v1.0/me/drive/root/children

从公司Sharepoint Documents获取文件列表的网址是:

Url to get file list from company Sharepoint Documents is:

/v1.0/drive/root/children

所以我的问题是:

如何列出用户正在关注的Sharepoint 站点并将文件上传到此站点

How to list Sharepoint Sites that user is following and upload files to this Sites

推荐答案

这还不可能.您需要使用直接 SharePoint API 端点来访问 SharePoint 站点中的内容.

This isn't possible yet. You need to use the direct SharePoint API end point to access content from SharePoint Sites.

Graph API 仅支持访问 OneDrive、OneDrive for Business 和 Office 365 组的文档库.

Graph API supports accessing OneDrive, OneDrive for Business, and the document library for an Office 365 Group only.

这篇关于使用 Microsoft Graph 列出 Microsoft Sharepoint 站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆