Configure Exchange Server 2016
Verify Existing Client Access Namespaces
It’s a good time to verify the Namespace configuration and correct them if there are any misconfigured namespaces.
- Login to Exchange 2010 server.
- Open Exchange Management Shell
-
Run follow cmdlet to check outlook Anywhere namespace
Get-OutlookAnywhere | Select Server,Internalhostname,Externalhostname | Fl
Note If upgrading from exchange 2010. Outlook Anywhere must be enabled and IIS Authentication Must be configured for co-existence, run follow cmdlet to enable Outlook Anywhere and configure IIS Authentication. Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 14*") -And ($_.ServerRole -Like "*ClientAccess*")} | Get-ClientAccessServer | Where {$_.OutlookAnywhereEnabled -Eq $False} | Enable-OutlookAnywhere -ClientAuthenticationMethod Basic -SSLoffloading $False -ExternalHostName mail.gooddealmart.ca -IISAuthenticationMethod Basic
Run follow cmdlet to configure IIS Authentication if Outlook Anywhere already enabled.
Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 14*") -And ($_.ServerRole -Like "*ClientAccess*")} | Get-ClientAccessServer | Where {$_.OutlookAnywhereEnabled -Eq $True} | ForEach {Set-OutlookAnywhere "$_\RPC (Default Web Site)" -ClientAuthenticationMethod Basic -SSLoffloading $False -ExternalHostName mail.gooddealmart.ca -IISAuthenticationMethod Basic}
|
-
Run follow cmdlet to check OWA Virtual Directory
Get-OWAVirtualDirectory -ADPropertiesOnly | Select Server,Internalurl,Externalurl | Fl
Note Run follow cmdlet to change settings. Get-OWAVirtualDirectory -Server GDMEX01 | Set-OWAVirtualDirectory -ExternalUrl mail.gooddealmart.ca/owa -InternalUrl mail.gooddealmart.ca/owa
|
-
Run follow cmdlet to check ECP Virtual Directory
Get-ECPVirtualDirectory -ADPropertiesOnly | Select Server,Internalurl,Externalurl | Fl
Note Run follow cmdlet to change settings. Get-ECPVirtualDirectory -Server GDMEX01 | Set-ECPVirtualDirectory -ExternalUrl mail.gooddealmart.ca/ecp -InternalUrl mail.gooddealmart.ca/ecp
|
-
Run follow cmdlet to check OAB Virtual Directory
Get-OABVirtualDirectory -ADPropertiesOnly | Select Server,Internalurl,Externalurl | Fl
Note Run follow cmdlet to change settings. Get-OABVirtualDirectory -Server GDMEX01 | Set-OABVirtualDirectory -ExternalUrl mail.gooddealmart.ca/OAB -InternalUrl mail.gooddealmart.ca/OAB
|
-
Run follow cmdlet to check WebServices Virtual Directory
Get-WebServicesVirtualDirectory -ADPropertiesOnly | Select Server,Internalurl,Externalurl | Fl
Note Run follow cmdlet to change settings. Get-WebServicesVirtualDirectory -Server GDMEX01 | Set-WebServicesVirtualDirectory -ExternalUrl mail.gooddealmart.ca/EWS/Exchange.asmx -InternalUrl mail.gooddealmart.ca/EWS/Exchange.asmx
|
-
Run follow cmdlet to check ActiveSync Virtual Directory
Get-ActiveSyncVirtualDirectory -ADPropertiesOnly | Select Server,Internalurl,Externalurl | Fl
Note Run follow cmdlet to change settings. Get-ActiveSyncVirtualDirectory -Server GDMEX01 | Set-ActiveSyncVirtualDirectory -ExternalUrl mail.gooddealmart.ca/Microsoft-Server-ActiveSync -InternalUrl mail.gooddealmart.ca/Microsoft-Server-ActiveSync
|
-
Run follow cmdlet to check ClientAccessServer Virtual Directory
Get-ClientAccessServer | Select Identity,AutodiscoverServiceInternaluri
Note Run follow cmdlet to change settings. Set-ClientAccessServer -Identity GDMEX01 -AutodiscoverServiceInternalUri https://mail.gooddealmart.ca/Autodiscover/Autodiscover.xml
|
Configuring the Autodiscover Services Connection Point (SCP) for Exchange 2016 Server
- Login to Exchange 2016 server.
- Open Exchange Management Shell
-
Run follow cmdlet to check the existing Autodiscover SCP settings.
Get-ClientAccessService -Identity GDMEX02 | Select Name,AutodiscoverServiceInternalUri | Fl
-
Run follow cmdlet to update Autidiscover SCP
Set-ClientAccessService -Identity GDMEX02 -AutoDiscoverServiceInternalUri https://mail.gooddealmart.ca/Autodiscover/Autodiscover.xm
Configuring the Client Access Namespaces for Exchange 2016 Server
- Login Exchange 2016 Server.
- Open Exchange Management Shell
-
Run follow cmdlet to change namespaces settings.
$ExternalHostname = "mail.gooddealmart.ca" $InternalHostname = "mail.gooddealmart.ca" $Servername = "GDMEX02" Get-OWAVirtualDirectory -Server $Servername | Set-OWAVirtualDirectory -ExternalUrl https://$ExternalHostname/owa -InternalUrl https://$InternalHostname/owa Get-ECPVirtualDirectory -Server $Servername | Set-ECPVirtualDirectory -ExternalUrl https://$ExternalHostname/ecp -InternalUrl https://$InternalHostname/ecp Get-ActiveSyncVirtualDirectory -Server $Servername | Set-ActiveSyncVirtualDirectory -ExternalUrl https://$ExternalHostname/Microsoft-Server-ActiveSync -InternalUrl https://$InternalHostname/Microsoft-Server-ActiveSync Get-WebServicesVirtualDirectory -Server $Servername | Set-WebServicesVirtualDirectory -ExternalUrl https://$ExternalHostname/EWS/Exchange.asmx -InternalUrl https://$InternalHostname/EWS/Exchange.asmx Get-OABVirtualDirectory -Server $Servername | Set-OABVirtualDirectory -ExternalUrl https://$ExternalHostname/OAB -InternalUrl https://$InternalHostname/OAB Get-MapiVirtualDirectory -Server $Servername | Set-MapiVirtualDirectory -ExternalUrl https://$ExternalHostname/mapi -InternalUrl https://$InternalHostname/Mapi Get-OutlookAnywhere -Server $Servername | Set-OutlookAnywhere -ExternalHostname $ExternalHostname -InternalHostname $InternalHostname -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -DefaultAuthenticationMethod NTLM
Testing the Client Access Namespaces
We can use a host to test with pilot users and make sure there are no issues.
- Login to a pilot user’s desktop.
- Open hosts file from c:\Windows\System32\drivers\etc
-
Add mail.gooddealmart.ca map to the IP of exchange 2016 server, save and then close the hosts file
- Open outlook from the desktop of pilot user and make sure there are no issues.
TO be continue….
Hope you enjoy this post.
Cary Sun
Twitter:@SifuSun