profilePhoto resource type
Namespace: microsoft.graph
Represents a profile photo of a user, group, team, or Outlook contact accessed from Exchange Online or Microsoft Entra ID. The data is binary and not encoded in base-64.
Methods
Method | Return type | Description |
---|---|---|
Get profilePhoto | profilePhoto | Read the properties and relationships of a profile photo object. |
Update profilePhoto | profilePhoto | Update the properties of a profile photo object. |
Delete profilePhoto | profilePhoto | Delete the profile photo of a user or group. |
Note
Managing users' photos using the Microsoft Graph API is currently not supported in Azure AD B2C tenants.
The delete operation supports only user or group photos, but not Outlook contact nor Teams photos.
Properties
Property | Type | Description |
---|---|---|
id | string | Read-only. |
height | int32 | The height of the photo. Read-only. |
width | int32 | The width of the photo. Read-only. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"id": "String",
"height": 240,
"width": 240
}
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin