In one of my previous articles we looked at updating the autodiscover internal URL, today we will update the rest using PowerShell, this includes the following:

  • EWS
  • OAB
  • OWA
  • ActiveSync
  • PowerShell
  • ECP

Here are the list of PowerShell commands that were run to update my lab environment(includes Autodiscover):

• Set-ClientAccessService -Identity Exchange-2019 -AutodiscoverServiceInternalUri

• Get-WebServicesVirtualDirectory -Server Exchange-2019 | Set-WebServicesVirtualDirectory -InternalUrl -ExternalURL

• Set-OWAVirtualDirectory -identity “Exchange-2019\owa (Default Web Site)” -InternalURL -ExternalURL

• Get-OABVirtualDirectory -Server Exchange-2019 | Set-OABVirtualDirectory -InternalURL -ExternalURL

• Get-ECPVirtualDirectory -Server Exchange-2019 | Set-ECPVirtualDirectory -InternalURL -ExternalURL

• Get-MAPIVirtualDirectory -Server Exchange-2019 | Set-MAPIVirtualDirectory -InternalURL -ExternalURL -IISAuthenticationMethods NTLM,Negotiate

• Get-ActiveSyncVirtualDirectory -Server Exchange-2019 | Set-ActiveSyncVirtualDirectory -InternalURL -ExternalURL

• Set-OutlookAnywhere -identity “Exchange-2019\RPC (Default Web Site)” -ExternalHostname -InternalHostname -InternalClientsRequireSSL $true -ExternalClientsRequireSsl $true -ExternalClientAuthenticationMethod:NTLM

Hope it helps.

1 Comment

Exchange 2019 - Outlook Popup - · Dec 27, 2018 at 8:18 pm

[…] After that was done, all URL’s were updated as per one of my previous articles. […]

Leave a Reply