Commands › Exchange Online
Test-CalendarConnectivity
Verify that anonymous calendar sharing is enabled and working properly. The Calendar virtual directory is a subdirectory of the Microsoft Outlook on the web virtual directories. When you run this command without any parameters, the command tests calendar connectivity against all Outlook on the web virtual directories. **Note**: This cmdlet works best in Exchange 2010. In later versions of Exchange, the functionality of this cmdlet is replaced by Managed Availability. For the best results, use the Invoke-MonitoringProbe cmdlet and specify the relevant active monitor probe instead of using this
Quick start script
# Test-CalendarConnectivity — 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-CalendarConnectivity | Format-List
# 3. Export for evidence / drift tracking
Test-CalendarConnectivity | Export-Clixml .\CalendarConnectivity-$(Get-Date -Format yyyyMMdd).xml
Syntax
Test-CalendarConnectivity [[-ClientAccessServer] <ServerIdParameter>]
[-Confirm]
[-DomainController <Fqdn>]
[-LightMode]
[-MailboxServer <ServerIdParameter>]
[-MonitoringContext]
[-ResetTestAccountCredentials]
[-TestType <OwaConnectivityTestType>]
[-Timeout <UInt32>]
[-TrustAnySSLCertificate]
[-VirtualDirectoryName <String>]
[-WhatIf]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.