Microsoft Graph SDK - 尝试获取外部用户的共享点文件/文件夹信息时失败
我们正在尝试使用图形 SDK 构建一个 .NET 应用程序 (C#),以从用户有权访问的 Share Point 站点(在 SharePoint 中共享)查看、上传和下载文件。具有 Microsoft 在线帐户(个人)的外部用户在 Azure AD 中被邀请作为来宾用户并进行注册。所有内部用户都已在 Azure AD 中。我使用委托用户权限(代表用户访问令牌)传递给图表。我可以从 Share Point 网站获取文件/文件夹信息,仅作为内部用户向 SharePoint 上传/下载文件。当我尝试同样的操作时,我的访问被拒绝。检查了 Azure AD 中图形 API 的所有权限以及外部用户的 SharePoint 访问权限。一切似乎都很好,外部用户也可以登录 SharePoint 网站并查看/编辑/上传/下载文件。有人在调用图 SDK 时与外部用户遇到同样的问题吗?
We are trying to build a .NET application (C#) using graph SDK to view, upload and download files from the Share Point sites users has access to (Shared in SharePoint). External users with Microsoft online account (Personal) is invited in Azure AD as guest user and signed up. All internal users are already in Azure AD. I use Delegated user permission (On Behalf Of user access token) to pass to graph. I can get get the file/folder info from Share Point site, upload/download files to/from SharePoint ONLY as internal user. When I try the same, I get access denied. Checked all permissions within azure AD for graph API, and SharePoint access for external user. All seems fine, external user can login to SharePoint site and view/edit/upload/download file as well. Any one had same issues with external users while calling graph SDK?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论