Mail Flow Configuration Investigation
Generate Exchange Online PowerShell commands to inspect inbound and outbound connectors, accepted domains, and remote domains.
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