Shi*_*mar 5 rest sharepoint progressive-web-apps
我想使用 REST API 和从注册应用程序生成的访问令牌来获取共享点项目信息。但是,在邮递员中使用以下 URL 获取项目时,我们遇到了以下错误。(通过 cookie 访问时,在浏览器中(登录后)有效)
网址 - https://xxxxxx.sharepoint.com/sites/pwa/_api/ProjectData/[en-us]/Projects?format=json
标头 - 授权 - 承载 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
接受 - application/json;odata=verbose
回复 -
{
"error": {
"code": "-1, System.InvalidOperationException",
"message": {
"lang": "en-US",
"value": "User:<customercontent></customercontent> not found in Active directory or in project db."
}
}
}
Run Code Online (Sandbox Code Playgroud)
任何帮助克服此错误的帮助将不胜感激。
| 归档时间: |
|
| 查看次数: |
723 次 |
| 最近记录: |