Commands › Exchange Online
Test-OwaConnectivity
Verify that Microsoft Office Outlook Web App is running as expected. The Test-OwaConnectivity cmdlet can be used to test Outlook Web App connectivity for all Microsoft Exchange Server 2010 virtual directories on a specified Client Access server for all mailboxes on servers running Exchange that are in the same Active Directory site. The Test-OwaConnectivity cmdlet can also be used to test the connectivity for an individual Exchange Outlook Web App URL.
Quick start script
# Test-OwaConnectivity — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Test-OwaConnectivity -URL <String> -MailboxCredential <PSCredential> | Format-List
# 3. Export for evidence / drift tracking
Test-OwaConnectivity | Export-Clixml .\OwaConnectivity-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
URL
Test-OwaConnectivity [-URL] <String> -MailboxCredential <PSCredential>
[-AllowUnsecureAccess]
[-Confirm]
[-DomainController <Fqdn>]
[-LightMode]
[-ResetTestAccountCredentials]
[-Timeout <UInt32>]
[-TrustAnySSLCertificate]
[-WhatIf]
[<CommonParameters>]
Identity
Test-OwaConnectivity [[-ClientAccessServer] <ServerIdParameter>]
[-MailboxServer <ServerIdParameter>]
[-MonitoringContext]
[-RSTEndpoint <String>]
[-TestType <OwaConnectivityTestType>]
[-VirtualDirectoryName <String>]
[-AllowUnsecureAccess]
[-Confirm]
[-DomainController <Fqdn>]
[-LightMode]
[-ResetTestAccountCredentials]
[-Timeout <UInt32>]
[-TrustAnySSLCertificate]
[-WhatIf]
[<CommonParameters>]
Parameters (16)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.