Skip to main content

Run Exchange Online Command

Locally executes a user provided Exchange Online script in PowerShell. Commands executed here will be performed using the Exchange Online connection credentials.

Installed version: 3.5.0

note

If there's an error in a command in the middle of the script and the last command succeeds, the entire action will succeed, not revealing that some command may have failed.

Parameters

ParameterDescription
CodePowerShell code to execute in Exchange Online.

Automation Library Example

Run Exchange Online Command with Exchange Online and Send Results Via Slack

Automation LibraryPreview this Automation on desktop