Skip to main content
outlook.permanentlyDeleteMessage permanently deletes a message without using Deleted Items.

Example

automations/outlook-permanently-delete-message.automation.ts

Inputs

Pass { messageId: "AAMkAGI2..." }. The optional second argument { account } selects a Microsoft binding.

Output

Permanently deletes a message without using Deleted Items. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.