Move contacts between folder in Micorosoft Graph

Filippo Cenghiaro 21 Reputation points

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

    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

    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.