Hi @Akash Doke
Thanks for reaching out!
Based upon the error message I am assuming that you are trying to call some graph endpoint related to either accessing some profile photo of either a team or individual. or you are trying to update the existing photo. Could you please confirm the same.
I have tried this API locally and it is working fine when the photo exists. The profile photo is accessed successfully. In case you want to update the photo, please pass the valid binary data for the image and try executing the API. If the issue still persists, I recommend you raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better.
You can raise support ticket from
[http://aad.portal.azure.com] or https://admin.microsoft.com/#/support/requests.
You can refer to the following documentation for more details https://learn.microsoft.com/en-us/graph/api/profilephoto-update?view=graph-rest-1.0&tabs=http#:%7E:text=User.ReadWrite.All-,Note,-To%20update%20the
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.