- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们正在尝试使用 azure oauth2 安全地访问共享点 api。我们获得了持有者 token ,但是在访问 sharepoint rest api 时,我们得到了状态代码:401 未经授权和响应:{"error_description":"抛出了类型为 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' 的异常。"}
最佳答案
我认为您可能以错误的方式设置范围。据我所知,应该是https://yourSite.sharepoint.com/.default或详细范围,如:https://yourSite.sharepoint.com/Sites.ReadWrite.All
现在建议到use Microsoft Graph API to manage your sharepoint site使用 Microsoft Graph API 来管理您的共享点站点。
它提供了一个统一的可编程性模型,可用于访问 Office 365、Windows 10 和企业移动性 + 安全性中的大量数据。
关于azure-active-directory - "error_description": "Exception of type ' Microsoft. IdentityModel.Tokens.AudienceUriValidationFailedException ' was thrown.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57297510/
我一直在努力尝试从我们公司的安全 Sharepoint 下载安全文件。 我已执行以下步骤,但在尝试下载时仍然收到 AudienceUriValidationFailedException。 请参阅下面
我们正在尝试使用 azure oauth2 安全地访问共享点 api。我们获得了持有者 token ,但是在访问 sharepoint rest api 时,我们得到了状态代码:401 未经授权和响应
我是一名优秀的程序员,十分优秀!