Sync photo failed use the Microsoft Graph API

Wendy SH. Wang 21 Reputation points
2022-07-11T08:25:54.803+00:00

Hi Experts,

Would you please look at my issue below? I haven't got any answers till now.

https://learn.microsoft.com/en-us/answers/questions/918952/sync-photo-failed-use-the-microsoft-graph-api.html

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,518 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vicky Kumar (Mindtree Consulting PVT LTD) 1,156 Reputation points Microsoft Employee
    2022-07-13T18:12:41.637+00:00

    Hi ,
    I can see the question is already answered, have you tried by providing dimension [N:N] , as this already mentioned in the docs - https://learn.microsoft.com/en-us/graph/api/profilephoto-update?view=graph-rest-1.0&tabs=http .

    Due to the current limit of 4 MB on the total size of each REST request, the size of the photo you can add is also limited to 4 MB. The following are the supported dimensions for HD photos on Exchange Online: 48x48, 64x64, 96x96, 120x120, 240x240, 360x360, 432x432, 504x504, and 648x648.

    Hope this fixed your issue, please let us know if you have any query

    Thanks