Configure Exchange 2010 Client Access Name Space.
Configure Exchange 2010 Client Access Name Space.
In this post, I will look at how to configure the internal and external name spaces for the client access service in Exchange 2010.
To get started with the configuration we need to make sure of the name space design once this has been decided on then the following cmdlet can be used to configure each of the client access services.
Firstly, we will run the following cmdlet to get the current configuration of the environment.
Get-ActiveSyncVirtualDirectory | Select Name,InternalUrl,ExternalUrl
Get-OwaVirtualDirectory | Select Name,InternalUrl,ExternalUrl
Get-OABVirtualDirectory | Select Name,InternalUrl,ExternalUrl
Get-WebServicesVirtualDirectory |Select Name,InternalUrl,ExternalUrl
As we can see, the URL’s are all default and does the meet the name space requirements for the organization.
The organization requires that a single name space be used called: outlook.thatcloudlab.com
To modify all the services to meet this requirement, the following cmdlets can be used.
The following example configures the ExternalURL property for Exchange ActiveSync virtual directory.
Set-ActivesyncVirtualDirectory -Identity "TCLEXCAS01\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL Https://outlook.thatcloudlab.com/Microsoft-Server-Activesync -InternalUrl Https://outlook.thatcloudlab.com/Microsoft-Server-Activesync -BasicAuthEnabled $True
Get-ActiveSyncVirtualDirectory |Select Name,ExternalUrl,InternalUrl
The following example configures the ExternalURL property for the Outlook Web App virtual directory.
Set-OwaVirtualDirectory -Identity "TCLEXCAS01\OWA (Default Web Site)" -ExternalURL Https://outlook.thatcloudlab.com/OWA -InternalUrl Https://outlook.thatcloudlab.com/OWA -FormsAuthentication $True -BasicAuthentication $True
Get-OwaVirtualDirectory |Select Name,ExternalUrl,InternalUrl |fl
The following example configures the ExternalURL property for the Outlook Address Book virtual directory.
Set-OABVirtualDirectory -Identity "TCLEXCAS01\oab (Default Web Site)" -ExternalUrl https://outlook.thatcloudlab.com/oab -InternalUrl https://outlook.thatcloudlab.com/oab
Get-OABVirtualDirectory |Select Name,ExternalUrl,InternalUrl |fl
The following example configures the ExternalURL property for the Exchange Web Services virtual directory.
Set-WebServicesVirtualDirectory -Identity "TCLEXCAS01\EWS (Default Web Site)" -ExternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx -InternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx
Get-WebServicesVirtualDirectory |Select Name,ExternalUrl,InternalUrl |fl
The following example configures the ExternalURL property for the Outlook Anywhere virtual directory.
Enable-Outlookanywhere -IISAuthenticationMethods NTLM -SSlOffloading:$false -ClientAuthenticationMethod:Basic -ExternalHostname:outlook.thatcloudlab.com
To sum it all up, in this post we have configured the Internal and External Url’s for the client access services in Exchange 2010. Here is the List of cmdlets which was used again.
Set-ActivesyncVirtualDirectory -Identity "TCLEXCAS01\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL Https://outlook.thatcloudlab.com/Microsoft-Server-Activesync -InternalUrl Https://outlook.thatcloudlab.com/Microsoft-Server-Activesync -BasicAuthEnabled $True
Set-OwaVirtualDirectory -Identity "TCLEXCAS01\OWA (Default Web Site)" -ExternalURL Https://outlook.thatcloudlab.com/OWA -InternalUrl Https://outlook.thatcloudlab.com/OWA -FormsAuthentication $True -BasicAuthentication $True
Set-OABVirtualDirectory -Identity "TCLEXCAS01\oab (Default Web Site)" -ExternalUrl https://outlook.thatcloudlab.com/oab -InternalUrl https://outlook.thatcloudlab.com/oab
Set-WebServicesVirtualDirectory -Identity "TCLEXCAS01\EWS (Default Web Site)" -ExternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx -InternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx
Set-WebServicesVirtualDirectory -Identity "TCLEXCAS01\EWS (Default Web Site)" -ExternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx -InternalUrl https://outlook.thatcloudlab.com/ews/exchange.asmx
Enable-Outlookanywhere -IISAuthenticationMethods NTLM -SSlOffloading:$false -ClientAuthenticationMethod:Basic -ExternalHostname:outlook.thatcloudlab.com
To quickly verify that we can access OWA with the new Internal and External URL that we have set.
https://outlook.thatcloudlab.com/owa
#ThatLazyAdmin
Are these only information sharing, or can the services be rendered via team view? If yes, is it available acrossthe globe ?
Soniah@webmail.co.za