Skip to main content
outlook.moveMailFolder moves a folder and returns the moved Outlook mail folder.

Example

automations/outlook-move-mail-folder.automation.ts

Inputs

Pass { folder: "Customers", destinationFolder: "Archive" }. The optional second argument { account } selects a Microsoft binding.

Output

Moves a folder and returns the moved Outlook mail folder. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.