Skip to main content
outlook.listMessageRules returns Inbox rules in evaluation order.

Example

automations/outlook-list-message-rules.automation.ts

Inputs

Optional limit controls the maximum rules returned, from 1 through 10,000, and defaults to 100. The optional second argument { account } selects a Microsoft binding.

Output

Returns Inbox rules in evaluation order. Use each opaque ruleId with the get, update, or delete action. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.