Exchange Online

Mail Flow Configuration Investigation

Generate Exchange Online PowerShell commands to inspect inbound and outbound connectors, accepted domains, and remote domains.

Commands are generated locally in your browser. MailOps does not execute them or connect to your Microsoft 365 tenant.

All mail flow configuration commands are read-only inspection queries. Generated commands should be reviewed before executing in an authenticated Exchange Online session.

Requirements and scope

Run generated commands only after reviewing them in the context of your tenant.

Requires the ExchangeOnlineManagement module and an authenticated Exchange Online session with suitable RBAC permissions.

Mail Flow Configuration commands are read-only and use Get-InboundConnector, Get-OutboundConnector, Get-AcceptedDomain, or Get-RemoteDomain. Running these cmdlets requires the Exchange Administrator role or membership in the View-Only Organization Management role group (or Global Reader). Compliance-specific roles (such as Compliance Administrator) do not grant permissions to inspect transport connectors or accepted domains. MailOps does not execute commands, connect to your tenant, or evaluate security scores.

Connect to Exchange Online

If you are not already connected, authenticate to Exchange Online before running the generated command.

Connect-ExchangeOnline

Give feedback

Help us improve MailOps without leaving this page.

104000 characters

Only provide this if you would like a response.