无法使用GraphServiceClient或Graph Explorer获取用户的照片 [英] Can not get the user's photo using GraphServiceClient or Graph Explorer

查看:268
本文介绍了无法使用GraphServiceClient或Graph Explorer获取用户的照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还有其他一些问题:

#1。为什么v1.0端点api无法获取用户的照片,但测试版可以。

#1.Why the v1.0 endpoint api can not get the photo of the user but the beta version can.

#2.I使用GraphServiceClient,如何通过测试版网址"https://graph.microsoft.com/beta"对它来说,

#2.I use the GraphServiceClient and How can I pass the beta version url "https://graph.microsoft.com/beta" to it,

我尝试了这个构造函数,但似乎仍然是v1.0端点的目标

I tried this constructor, but it seems still target to the v1.0 endpoint

public GraphServiceClient(string baseUrl,IAuthenticationProvider authenticationProvider,IHttpProvider httpProvider = null);

public GraphServiceClient(string baseUrl, IAuthenticationProvider authenticationProvider, IHttpProvider httpProvider = null);

推荐答案

我问过的原始帖子就在这里。

The original thread I asked is here.

https://github.com/MicrosoftDocs/azure-docs/issues/29790

https://github.com/MicrosoftDocs/azure-docs/issues/29790


这篇关于无法使用GraphServiceClient或Graph Explorer获取用户的照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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