web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Microsoft Graph - Copy / Move message between two folders in different accounts

(0) ShareShare
ReportReport
Posted on by

I've been using Microsoft Graph API v1 to automate my company commercial emails. I've successfully created rules to pipe all incoming emails to my Mail Manager but now i need to move some of the emails back to my consultants inbox without having to forward it.

My app is able to read every single folder of every commercial account.

I can do almost everything above but the move. It says it can't find my folder:

ErrorToFolderNotFound

and i just got the DestinationId from another query to the API that retrieves the correct id of the destination folder.

This process between folders in the same account works flawlessly

i.e.:

ACCOUNT1 / Inbox => ACCOUNT1 / Drafts    Works

ACCOUNT1 / Inbox => ACCOUNT2 / Inbox     Doesn't work

Can anyone please help me to find a solution?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    This is a dynamics CRM or Dynamics 365 forum, your question seems to be related to Graph API and Exchange or Outlook. You may not get the best answer to your question here but please see below

    docs.microsoft.com/.../message-move

  • Community Member Profile Picture
    on at

    Sorry, i've misplaced the question.

    Before coming here to bother you, i've read  documentation, but it's not predicting my specific case. You can, in fact, move messages from one folder to another but in the same account. What i'm trying to do is to simulate our desktop outlook where we can move emails from one mail account to another through Microsoft Graph API......

    I'll try to find the correct community! Thanks anyway, Kokulan, for your availability!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans