使用租户读取权限访问提供商托管应用程序中的视频其他api是否有效? [英] Is it valid to use Tenant Read permissions to access video rest apis in Provider hosted App ?

查看:91
本文介绍了使用租户读取权限访问提供商托管应用程序中的视频其他api是否有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 Hi Team,

我们正在开发提供商托管的App,它将访问视频rest apis以获取视频频道和视频。
该应用程序使用"用户访问令牌"。但仅适用于App清单中的租户读取权限。

需要检查应用程序清单下是否有任何其他权限可以从视频门户中心返回结果。此外,还不确定租户管理员是否可以批准来自任何网站用户的应用添加请求,因为此应用需要租户读取权限。

使用租户读取权限访问视频rest apis是否有效?

谢谢,

Prashant








解决方案


要从应用程序访问Video API,您需要在Azure AD中使用适当范围的权限注册它。


< a href ="https://msdn.microsoft.com/en-us/office/office365/api/video-rest-operations"> https://msdn.microsoft。 com / zh-CN / office / office365 / api / video-rest-operations
 


您可以参考"使用AAD注册应用并部署它"部分。


https:// msdn.microsoft.com/pt-br/library/office/dn705716.aspx


最好的问候,



Hi Team,

We are developing provider hosted App which will access video rest apis to get video channels and videos. 
This app uses "user access token" but only works with tenant read permission from App manifest. Need to check if any other permission is available under App manifest can do the job of getting results
back from video portal hub. Also not sure if Tenant Admin can approve app addition request
from any site user, as this App requires tenant read permissions. Is it a valid approach to use tenant read permissions for accessing video rest apis? Thanks, Prashant





解决方案

Hi,

To access the Video API from your application, you'll need to register it in Azure AD with permissions at the appropriate scope.

https://msdn.microsoft.com/en-us/office/office365/api/video-rest-operations  

You could reference the ‘Register the app with AAD and deploy it’ section.

https://msdn.microsoft.com/pt-br/library/office/dn705716.aspx

Best Regards,

Lee


这篇关于使用租户读取权限访问提供商托管应用程序中的视频其他api是否有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆