Move contacts between folder in Micorosoft Graph

Filippo Cenghiaro 21 Reputation points
2022-01-27T07:38:24.04+00:00

Hello I'm Filippo,
I have created a simple python script that synchronises a list of contacts into Outlook using Microsoft Graph. I was able to create all contacts but not to move them between folders. I want to ask If is possible move them and how to achieve that.
Thank you
Filippo Cenghiaro

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

Accepted answer
  1. Shivam Dhiman 5,946 Reputation points
    2022-02-08T16:14:46.167+00:00

    Hi @Filippo Cenghiaro ,

    I verified your query at present, there is no API available to move contacts between Folders using Microsoft Graph. Since this feature/functionality is presently not available, you can submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    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.

1 additional answer

Sort by: Most helpful
  1. M G 16 Reputation points
    2022-02-10T13:15:12.637+00:00

    Sadly, there's no "move" API to move contacts between folders, however you could do a create + delete instead:

    You create the same contact under your target folder using the "Create contact in folder" API
    And then you delete the original contact from the source folder using the "Delete contact" API

    You can also batch those two api calls into a single one, so if the create fails you won't be deleting the original contact

    1 person found this answer helpful.