Exchange Server 2016

Configuring and Managing Client Access Internal and External Namespaces in Exchange Server 2016

Client Access namespaces are defined URLs (External and Internal) used by clients to access Exchange Server 2016. In a single site, the namespaces configuration are shared by servers. In the multiple sites, you can implement one or more namespaces. You should select a meaningful namespace because clients might use it to access Outlook over the Intranet and Internet. For example, mail.msserverpro.com would be a common namespace to use. If there are multiple sites with Exchange Server, then you should have namespaces based on physical locations such as mail.np.msserverpro.com.

Configure the following tasks for Client Access Namespaces:

1. Create a DNS record for the namespace.
2. Configure the SCP for Autodiscover.
3. Configure External URLs
4. Configure Internal URLs

Task 1: Create a DNS record for the namespace:

1. On KTM-DC1, in Server Manager, click Tools and then click DNS.

2. In DNS Manager, expand KTM-DC1, expand Forward Lookup Zones, and then click msserverpro.com

3. Right-click com and then click New Host (A or AAAA).

6-19-2016 6-27-27 AM

4. In the New Host window, in the Name box, type mail. In the IP address box, type 172.16.0.14 and click Add Host.

6-19-2016 6-28-27 AM

5. In the DNS window, click OK.

6-19-2016 6-28-57 AM

6. In the New Host window, click Done.

7. Close DNS Manager.

Task 2: Configure the SCP for Autodiscover:

1. On KTM-EX1,Open Exchange Management Shell.

2. In Exchange Management Shell, to view the Autodiscover URL,
type Get-ClientAccessService | fl name,auto* and press Enter.

6-19-2016 6-31-22 AM

3. Set the Autodiscover URL, In Exchange Management Shell, type
Get-ClientAccessService | Set-ClientAccessService  -AutoDiscoverServiceInternalUri https://mail.msserverpro.com/Autodiscover/Autodiscover.xml and press Enter.

6-19-2016 6-33-57 AM

4. Close Exchange Management Shell.

Task 3: Configure External URLs:

1. On KTM-EX1, Open the Exchange admin center.

2. In Exchange admin center, click servers and then click the virtual directories tab. In the toolbar click configure external access domain (the wrench icon).

6-19-2016 6-42-29 AM

3. In the Configure external access domain window, click Add.

 6-19-2016 6-43-38 AM

4. In the Configure external access domain window, click Add. In the Select a Server window, click KTM-EX1, click add, and then click OK.

 6-19-2016 6-44-32 AM

5. In the Configure external access domain window, in the Enter the domain name you will use with your external Client Access servers box, type mail.msserverpro.com and click Save.

6-19-2016 6-46-07 AM

6. When Saving completed successfully, click Close.

6-19-2016 6-47-09 AM

Task 4: Configure Internal URLs:

1. In Exchange admin center, on the virtual directories tab, in the Select server box, select KTM-EX1.msserverpro.com. Edit each of the virtual directories except Autodiscover (Default Web Site) and PowerShell (Default Web Site) and change the Internal URL from KTM-EX1.msserverpro.com to mail.msserverpro.com.

 2. Click ecp (Default Web Site) and then click Edit.

6-19-2016 6-50-08 AM

3. In the ecp (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/ecp and then click Save.

6-19-2016 6-51-03 AM
6-19-2016 6-52-02 AM

4. In the warning window, click OK.

6-19-2016 6-53-06 AM

To configure Internal URL for the Exchange Admin Center virtual directory (ECP), run the following command in the Exchange Management Shell:

Get-EcpVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-EcpVirtualDirectory -Identity “ecp (Default Web Site)” -InternalUrl https://mail.msserverpro.com/ecp

7-21-2016 6-45-47 AM
7-21-2016 6-52-21 AM

5. Click EWS (Default Web Site) and then click Edit. In the EWS (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/EWS/Exchange.asmx and then click Save.

6-19-2016 6-54-15 AM

To configure Internal URL for the Exchange Web Services, run the following command in the Exchange Management Shell:

Get-WebServicesVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-WebServicesVirtualDirectory -Identity “EWS (Default Web Site)” -InternalUrl https://mail.msserverpro.com/ews/exchange.asmx

7-21-2016 6-57-16 AM

7. Click Microsoft-Server-ActiveSync (Default Web Site) and then click Edit. In the Microsoft-Server-ActiveSync (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/Microsoft-Server-ActiveSync and then click Save.

6-19-2016 6-57-05 AM

To configure Internal URL for the Exchange ActiveSync, run the following command in the Exchange Management Shell:

Get-ActiveSyncVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-ActiveSyncVirtualDirectory -Identity “Microsoft-Server-ActiveSync (Default Web Site)” -InternalUrl https://mail.msserverpro.com/Microsoft-Server-ActiveSynctive

7-21-2016 7-06-14 AM

8. Click OAB (Default Web Site) and then click Edit. In the OAB (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/OAB and then click Save.

7-21-2016 5-34-56 PM

To configure Internal URL for the Exchange OAB Virtual directory, run the following command in the Exchange Management Shell:

Get-OabVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-OabVirtualDirectory -Identity “OAB (Default Web Site)” -InternalUrl https://mail.msserverpro.com/OAB

7-21-2016 5-49-11 PM

9. Click owa (Default Web Site) and then click Edit. In the owa (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/ecp and then click Save.

 6-19-2016 6-58-56 AM

 

To configure Internal URL for the Exchange Outlook Web App, run the following command in the Exchange Management Shell:

Get-OwaVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-OwaVirtualDirectory -Identity “owa (Default Web Site)” -InternalUrl https://mail.msserverpro.com/owa

Copy of 7-21-2016 7-12-03 AM

10. Click mapi (Default Web Site) and then click Edit.In the mapi (Default Web Site) window, in the Internal URL box, type https://mail.msserverpro.com/mapi and then click Save.

6-19-2016 6-59-57 AM

To configure Internal URL for the Exchange mapi, run the following command in the Exchange Management Shell:

Get-MapiVirtualDirectory | fl Name,InternalURL,ExternalURL

Set-MapiVirtualDirectory -Identity “mapi (Default Web Site)” -InternalUrl https://mail.msserverpro.com/mapi

Copy of 7-21-2016 7-16-03 AM

 

 

Summary:

In this article, you have configured each virtual directory with an internal URL and an external URL. These URLs are the namespaces used by clients to connect to client access services. I hope this article will help in configuring client access namespaces using the Exchange Admin Center and Exchange Management Shell.

Leave a Reply

Your email address will not be published. Required fields are marked *