简体   繁体   English

OneDrive for Business API-带有App Only令牌的守护程序租户

[英]OneDrive for Business API - Daemon Tenant with App Only Token

Is it possible to use OneDrive Business API with App Only Token for Daemon Apps? 是否可以将OneDrive Business API与仅应用程序令牌一起用于Daemon Apps?

I have tried technique purposed in this post , but i couldnt access API. 我已经尝试了本文中所针对的技术,但是我无法访问API。 In fact there is nothing in OneDrive Business API documentation which indicates how to impersonate tenant users, for example /drives/{upn}/root or something. 实际上,OneDrive Business API文档中没有任何内容可以指示如何模拟租户用户,例如/drives/{upn}/root或其他内容。

Best, 最好,

It does work with app only tokens for daemon apps. 它确实适用于守护程序应用程序的仅应用程序令牌。 You can use the user's UPN as the drive-id, as you mentioned in your question. 正如您在问题中提到的,您可以将用户的UPN用作驱动器ID。 We're getting the documentation updated to include that this works. 我们正在更新文档,以包括该方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 多租户应用-OneDrive Business API - Multi-Tenant app - OneDrive Business API 查询OneDrive for Business时,“仅应用程序不支持的令牌” - “Unsupported app only token” when query OneDrive for Business 商业用OneDrive。 下载具有管理员凭据的Azure租户中的每个用户 - OneDrive for business. Download every users in an Azure tenant with Admin credential 有关发现和授权的OneDrive for Business API问题 - OneDrive for Business API issues on Discovery and Authorization Azure AD身份验证OneDrive for Business API - Azure AD authentication OneDrive for Business API OneDrive SDK:如何使用单租户应用程序访问 onedrive 文件? - OneDrive SDK : how can I use single tenant app to access onedrive files? 使用OneDrive for Business API以编程方式下载共享文件 - Download shared file programmatically using OneDrive for Business API 如何从我的 MVC 应用程序访问 OneDrive for business - How to access OneDrive for business from my MVC app Web应用程序到多租户应用程序一驱动器业务api - web application to multi tenant application one drive business api 在.NET应用程序以外的其他方面通过REST api访问Onedrive for Business Files? - Accessing Onedrive For Business Files via REST api in something other than a .NET application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM