Код: Выделить всё
var userRequest = graphClient.Users[{id}].Photo
.Request();
var user = await userRequest.GetAsync();
Код: Выделить всё
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users('userId')/photo/$entity",
"@odata.mediaContentType": "image/Jpeg",
"width": 503,
"height": 626,
"id": "503X626"
}
Подробнее здесь: https://stackoverflow.com/questions/660 ... -graph-sdk
Мобильная версия