首页 文章

使用One Drive Business API访问默认驱动器时获取未经授权的访问错误(401)

提问于
浏览
1

我想将一个用于业务的驱动器集成到我在Visual Studio 2008中的Windows窗体应用程序中 . 我已经按照链接“https://dev.onedrive.com/auth/aad_oauth.htm " for registration in Azure and authentication into Office 365. I am able to get the " https:// -my.sharepoint.com/_api/v2.0/me”url for登录用户以及用于调用一个驱动器api的访问令牌 . 但是当我调用API以获取默认驱动器或在一个驱动器企业帐户中存在于根级别的文件时,我收到了未经授权的访问错误,错误:401 . 我已尝试了所有权限的排列和组合(即Windows Azure Active Directory,Office 365统一API,Office 365管理API,Office 365 Sharepoint Online,Office 365 Exchange Online,Windows Azure服务管理API) . 请建议我还能错过什么?

这个人“Not able to use One Drive API for One Drive for Business”也有同样的问题 .

1 回答

相关问题