代表其他用户调用 Office 365 API

Calling Office 365 APIs on behalf of another user

我正在为 Office 365 商业版开发 Web 应用程序。我用我的管理员帐户授权它。所以我有代表管理员用户调用 REST API 的访问令牌。

有没有办法代表我组织内的其他用户调用 API? 或者有没有其他方法可以获取 OneDrive 中其他用户的文件列表?

您需要获取应用专用令牌才能访问属于其他用户的数据。 请按照步骤here to register the app and then follow these获取所需的令牌