Commands › Exchange Online
Enable-OutlookAnywhere
Enable Outlook Anywhere on a computer running Microsoft Exchange Server 2010 that has the Client Access server role installed. Running the Enable-OutlookAnywhere cmdlet enables the server to accept requests from Microsoft Office Outlook 2007 and Outlook 2003 client computers from the Internet by using Outlook Anywhere, also known as RPC over HTTP.
Quick start script
# Enable-OutlookAnywhere — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-OutlookAnywhere
$before | Format-List
# 3. Make the change (dry run first)
Enable-OutlookAnywhere -ClientAuthenticationMethod <AuthenticationMethod> -DefaultAuthenticationMethod <AuthenticationMethod> -ExternalHostname <Hostname> -WhatIf
Enable-OutlookAnywhere -ClientAuthenticationMethod <AuthenticationMethod> -DefaultAuthenticationMethod <AuthenticationMethod> -ExternalHostname <Hostname>
# 4. Verify and diff
$after = Get-OutlookAnywhere
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 2 parameter sets
CustomIdentity
Enable-OutlookAnywhere -ClientAuthenticationMethod <AuthenticationMethod> -ExternalHostname <Hostname> -SSLOffloading <Boolean>
[-IISAuthenticationMethods <MultiValuedProperty>]
[-Confirm]
[-DomainController <Fqdn>]
[-ExtendedProtectionFlags <MultiValuedProperty>]
[-ExtendedProtectionSPNList <MultiValuedProperty>]
[-ExtendedProtectionTokenChecking <ExtendedProtectionTokenCheckingMode>]
[-Server <ServerIdParameter>]
[-WhatIf]
[<CommonParameters>]
DefaultIdentity
Enable-OutlookAnywhere -DefaultAuthenticationMethod <AuthenticationMethod> -ExternalHostname <Hostname> -SSLOffloading <Boolean>
[-Confirm]
[-DomainController <Fqdn>]
[-ExtendedProtectionFlags <MultiValuedProperty>]
[-ExtendedProtectionSPNList <MultiValuedProperty>]
[-ExtendedProtectionTokenChecking <ExtendedProtectionTokenCheckingMode>]
[-Server <ServerIdParameter>]
[-WhatIf]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.