[英]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.