【发布时间】:2020-11-04 00:50:44
【问题描述】:
由于未提供此访问令牌,我无法获取将对我的 SharePoint 网站执行 CRUD 操作的第三方应用程序的访问令牌。
这是错误
AADSTS900144: The request body must contain the following parameter: 'grant_type'
我尝试将原始 JSON 和 Form-data 作为带有“grant_type”键的正文发送,但返回相同的错误。
发布网址:
https://accounts.accesscontrol.windows.net/<tenant ID>/tokens/OAuth/2
正文:
{
"grant_type":"client_credentials",
"resource":<resource>,
"client_id":<client_id>,
"client_secret":<client_secret>
}
【问题讨论】:
标签: sharepoint access-token sharepoint-online