我要检索我的Azure Active Directory中的所有用户及其个人资料照片。我的请求看起来像这样: var photo = await _graphServiceClient.Users[userId].Photo.Content.Request().GetAsync() 我知道在理论上可以定义所需的大小:MicrosoftGraphAPI - Get profile picture with defi
我正在使用MicrosoftGraph和使用此的OAuth2实现Microsoft Azure Active Directory身份验证。这是我的调用,它为我获取displayName、givenName、surName、邮件等。$graph = new Graph();
$user = $graph</e
我正在尝试创建一个连接到你的MS帐户的React应用。我遇到的问题是,当没有头像的人注册时,API会将其视为错误。你最好自己去看看。How it looks when there is no profile picture on the MS account 当没有可显示的图片时,如何显示默认的个人资料图片?using System.Threading.Tasks;
using Microsoft.AspNetCor
对于我的仪表板之一,我想向用户展示他们的个人资料图片,因为明显的个性化原因,并提供给他们改变它的可能性。Microsoft Docs站点上的大多数博客文章和文章都列出了我可以利用的各种端点来获取这些数据,但我只是无法通过简单的postman调用来使其工作。以下端点不起作用:
GET https://graph.microsoft.com