Skip to main content
outlook.copyMailFolder copies a folder and returns the copied Outlook mail folder.

Example

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

Inputs

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

Output

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