capabilities.work

Migrate a Mailbox Item

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

Recipe · 3 steps

Migrate a Mailbox Item

Export the first item of a source folder and import it into a target folder.

  1. List items in the source folder, returning the first item identifier to migrate.
  2. Export the full-fidelity MIME content of the first source item.
  3. Import the exported MIME content into the destination folder, creating a full-fidelity copy of the item.
What you'll need to have ready
  • sourceUserId: The user id or UPN owning the source mailbox.
  • sourceMailboxId: The source mailbox identifier.
  • sourceFolderId: The source folder identifier to read items from.
  • targetUserId: The user id or UPN owning the target mailbox.
  • targetMailboxId: The target mailbox identifier.
  • targetFolderId: The destination folder identifier to import into.
For your developer

Arazzo workflow microsoft-exchange:migrate-mailbox-item, 3 operations: listMailboxFolderItems → exportMailboxItemContent → importMailboxItem. Specs on APIs.io.