Deletion of Personal Contacts Profile Picture is not working

Shiva Sai Teja Marella 0 Reputation points
2025-02-05T07:18:53.7433333+00:00

while trying to delete profile picture of a contact, it is not working. I get the following error com.microsoft.graph.models.odataerrors.ODataError: The OData request is not supported.

Expectation is to delete the profile picture.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,771 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,086 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 500 Reputation points Microsoft Vendor
    2025-02-05T09:00:33.3366667+00:00

    Hello Shiva Sai Teja Marella,

    Thank you for reaching out to Microsoft!

    For the issue deleting profile picture of personal contact using Graph API, I tried replicating it and I am able to delete the profile picture as mentioned below.

    Graph API to delete Profile Picture of a user:undefined (1)

    Profile picture before deleting:undefined (2)

    Profile Picture after deleting using Graph API: undefined

    The error message indicates that the request you are making isn't supported by the API, please verify the Graph API Endpoint URL as mentioned in the documentation referenced below.

    Link: Delete Photo using Graph API

    Hope this helps.

    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.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.