需要在应用程序设置中设置什么权限才能使用图形api实现用户模拟。还需要访问个人OneDrive资源。 [英] What permission need to be set in App settings , in order to achieve user impersonation using graph api. Also need to have access to personal OneDrive resources.

查看:65
本文介绍了需要在应用程序设置中设置什么权限才能使用图形api实现用户模拟。还需要访问个人OneDrive资源。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我们正在使用图形API开发应用程序,以访问OneDrive普通资源,也希望支持UserImpersonation来读取正常使用的驱动器数据。请帮助我们为
设置适当的权限以实现相同的目标

We are developing the application using graph API, to access OneDrive normal resources, also wanted to have support for UserImpersonation to read normal use's drive data. Kindly help us to set proper permission in order to achieve the same

推荐答案

Hello Chaitali,

Hello Chaitali,

您可以查看
API参考
,它将列出进行每个Graph调用所需的权限。在您的情况下,请检查此

doc

You can check the API reference and it will list the permissions required to make each Graph call. In your case , check this doc.

您需要为正在开发的应用程序授予用户模仿的委派权限。检查这个
doc ,它解释了如何做图表代表用户致电。

You need to give delegated permissions to the application you are developing to do user impersonation. Check this doc which explains how to do graph calls on behalf a user.

希望这有帮助。


这篇关于需要在应用程序设置中设置什么权限才能使用图形api实现用户模拟。还需要访问个人OneDrive资源。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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