在azure上注册应用程序以访问Office 365视频服务apis时,需要应用哪些必需权限? [英] What are required permissions needs to be applied while registering app on azure to access Office 365 video service apis ?

查看:83
本文介绍了在azure上注册应用程序以访问Office 365视频服务apis时,需要应用哪些必需权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team, We are in the process of developing SharePoint-AddIn using provider hosted app and

想要访问办公室365视频频道。

由于视频服务apis可从视频门户中心及其特殊类型的网站集访问,

wanted to access office 365 video channels. As video service apis are accessible from video portal hub and its a special type of site collection,

我尝试使用具有读取网站集权限的SharePoint在线权限。我没有在MS图表下看到

I tried to use SharePoint online permissions with read site collection permissions. I don't see

任何权限选项,也不确定MS图表Apis是否适用于此处。

我无法从请求中获取访问令牌
https://login.microsoftonline.com/common/oauth2/authorize?response_type=access_token&client_id=xxxxxxxx-xxxx- xxxxx-xxxx-xxxxxxxxxxxx& resource = https://domain.sharepoint.com/portals/hub/_api/VideoService/Channels& redirect_uri = https://domain.sharepoint.com/sites/XXX/SitePages/TestO365VideoApp.aspx
尝试使用response_type =代码,但对我没用。

请求中是否有效资源= https://domain.sharepoint.com/portals/hub/_api/VideoService/Channels?
此外,在azure上注册app以访问Office 365视频服务apis时需要应用哪些权限?

any permission options under MS graph and not sure if MS graph Apis are applicable here. I'm not able to get access token from the request https://login.microsoftonline.com/common/oauth2/authorize?response_type=access_token&client_id=xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx&resource=https://domain.sharepoint.com/portals/hub/_api/VideoService/Channels&redirect_uri=https://domain.sharepoint.com/sites/XXX/SitePages/TestO365VideoApp.aspx Tried with response_type=code but didn't worked for me. Is it valid resource=https://domain.sharepoint.com/portals/hub/_api/VideoService/Channels in request ? Also What are required permissions needs to be applied while registering app on azure to access Office 365 video service apis ?










推荐答案

Hi Prashant,

似乎不允许应用程序令牌使用视频REST API,但您可以使用用户凭据创建访问令牌。

请检查以下链接:

https://social.msdn.microsoft.com/Forums/office/en-US/d7ef6893-91d3-41c4-a68f-8f6f15e54f5c/automation-using-o365-video-rest-api?forum=Office365forDevelopers

最诚挚的问候,


这篇关于在azure上注册应用程序以访问Office 365视频服务apis时,需要应用哪些必需权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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