【发布时间】:2016-07-12 23:31:05
【问题描述】:
守护程序应用程序(仅限应用程序,无经过身份验证的用户)是否可以通过 Microsoft Graph API 访问 SharePoint Online 内容?如果没有,我有什么选择?
我试过了:
https://graph.microsoft.com/v1.0/drives/<id>
但访问被拒绝。
通过以下方式访问 Office 365 组中的驱动器:
https://graph.microsoft.com/v1.0/groups/<id>/drive
这是我检索授权令牌的方式:
https://login.microsoftonline.com/<tenant id>/oauth2/token
resource=https://graph.microsoft.com
grant_type=client_credentials
client_id=<client id>
client_secret=<client secret>
【问题讨论】:
标签: office365 sharepoint-online microsoft-graph-api