capabilities.work

Archive Copy of a Message

A 3-step recipe with Microsoft Outlook. We can help you get access.

Recipe · 3 steps

Archive Copy of a Message

Create an archive folder, copy a message into it, and verify the copy.

  1. Create a top-level archive folder in the root of the mailbox and capture its folder id as the copy destination.
  2. Copy the source message into the archive folder. Graph returns 201 with the new copy; the original message is left untouched.
  3. Read the copied message back to confirm its subject and that it now lives in the archive folder.
What you'll need to have ready
  • archiveFolderName: The display name of the archive folder to create.
  • sourceMessageId: The id of the message to copy into the archive folder.
For your developer

Arazzo workflow microsoft-outlook:archive-copy-message, 3 operations: createMailFolder → copyMessage → getMessage. Specs on APIs.io.