问题描述
我还有其他一些问题:
#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);
推荐答案
https://github.com/MicrosoftDocs/azure-docs/issues/29790
https://github.com/MicrosoftDocs/azure-docs/issues/29790
这篇关于无法使用GraphServiceClient或Graph Explorer获取用户的照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!