Exchange 20XX – URLs der Virtuellen Verzeichnisse anpassen

Hallo Freunde der Sonne,

wir machen es schon ewig – aber hier kommt Mal die Doku für die 2-3 Handgriffe der sauberen OWA/ECP/Autodiscover…

Exchange 2013/2016 – URLs der Virtuellen Verzeichnisse anpassen

Empfehlung

Am besten die Powershell-Queries kopieren, erst MAIL durch den Servernamen ersetzen und danach die Domain „domain.tld“ durch die eignetliche.

Quellen

Konfiguration via Powershell:

Der Autodiscover-Standardpfad (via ECP nicht erreichbar):

Set-ClientAccessServer -Identity MAIL -AutodiscoverServiceInternalUri https://mail.domain.tld/autodiscover/autodiscover.xml

Die klassischen virtuellen Verzeichnisse:

Set-WebServicesVirtualDirectory -Identity "MAIL\EWS (Default Web Site)" -InternalUrl https://mail.domain.tld/ews/exchange.asmx -ExternalUrl https://mail.domain.tld/ews/exchange.asmx -InternalNLBBypassUrl https://mail.domain.tld/ews/exchange.asmx
Set-OABVirtualDirectory -Identity "MAIL\oab (Default Web Site)" -InternalUrl https://mail.domain.tld/oab -ExternalUrl https://mail.domain.tld/oab 
Set-ActiveSyncVirtualDirectory -Identity "MAIL\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl https://mail.domain.tld/Microsoft-Server-ActiveSync -ExternalUrl https://mail.domain.tld/Microsoft-Server-ActiveSync  
Set-OWAVirtualDirectory -Identity "MAIL\owa (Default Web Site)" -InternalUrl https://mail.domain.tld/owa -ExternalUrl https://mail.domain.tld/owa
Set-ECPVirtualDirectory -Identity "MAIL\ecp (Default Web Site)" -InternalUrl https://mail.domain.tld/ecp -ExternalUrl https://mail.domain.tld/ecp
Set-MapiVirtualDirectory -Identity "MAIL\MAPI (Default Web Site)" -InternalUrl https://mail.domain.tld/mapi -ExternalUrl https://mail.domain.tld/mapi
Set-PowerShellVirtualDirectory -Identity "MAIL\PowerShell (Default Web Site)" -InternalUrl https://mail.domain.tld/powershell -ExternalUrl https://mail.domain.tld/powershell

Und natürlich Outlook Anywhere:

Set-OutlookAnywhere -Identity "MAIL\Rpc (Default Web Site)" -InternalHostname mail.domain.tld -InternalClientsRequireSsl $true

Update für IMAP & POP3:

Set-POPSettings -X509CertificateName mail.domain.tld
Set-IMAPSettings -X509CertificateName mail.domain.tld

Das war es auch schon. ;)