Publishing Microsoft Office SharePoint Server (MOSS) with Unified Access Gateway (UAG)

SharePoint extranet access with Forefront UAG is documented on Microsoft TechNet. However it might be hard to read through all the articles without having explanatory configuration screenshots. The greatest challenge for me was to get the SharePoint Alternate Access Mappings configured correctly. Therefore, this article is providing an end to end configuration example how to publish SharePoint with UAG.

The following configuration assumes that HTTPS is used between the client computer and UAG while HTTP is used between UAG and SharePoint.

  1. As a preparation step, a new portal trunk must be set up. Application trunks don’t support SharePoint publishing.
  2. Once the portal trunk is set up, add a new application to the portal.
  3. In Step 1 of the Add Application Wizard, select Office SharePoint Server 2007 from the list of Web applications and click Next.
  4. Enter the Application Name and click Next.
  5. Select the Endpoint Security settings and click Next.
  6. Select the type of Application Deployment and click Next.
  7. In Step 5, in the Addresses field, enter the network name of the SharePoint server. The network name must be resolvable on the UAG server.
    Note: If you are using Kerberos authentication at the SharePoint server, it is mandatory to use a fully qualified host name (FQDN) in the Addresses field. You cannot use an IP address because an IP address cannot be mapped with a service principal name (SPN). For Kerberos authentication, the network name must be registered as SPN in the Active directory computer account of the SharePoint server.
    In this example, HTTP is used for all communication between UAG and SharePoint, therefore port 80 is configured as HTTP port. Also, specify the public host name of the SharePoint. Note, that the public name must be configured as Alternate Access Mapping in SharePoint.
  8. In step 6, set the authentication server and click Next.
  9. In step 7, verify the settings in the portal link and ensure that the name is similar to the public URL that was configured previously. Click Next. Note, that the Application URL is using https because in this example, the portal is protected with SSL. The Application URL defines the external URL used by a client computer accessing the published SharePoint server.
  10. Configure authorization for the application and click Next.
  11. Click Finish to end the wizard.

Continue on the SharePoint server with the following configuration steps:

  1. Open the Central Administration.
  2. Click on Operations in the left pane.
  3. In the Global Configuration section, click on Alternate access mappings.
  4. Select the AAM collection that is to be published with UAGimage
  5. Click on Edit Public URLs
  6. In the Public Zone URLs, enter the value that was set as Application URL in UAG. You can choose any available zone. Click Save.image
  7. Back in the Alternate Access Mappings, click Add Internal URLs.
  8. In the following screen enter the public URL that was configured in UAG for the application. Make sure that you use HTTP instead of HTTPS. This is because in this example, HTTP is used between UAG and SharePoint. Choose the same zone that you chose in step #6. Click Save.image
  9. After applying the configuration for the SharePoint Alternate Access Mappings, your settings should look similar to the following screen.image 

At this point, the SharePoint site is published with UAG and can be tested out.

A few more word on the network names used in this configuration: is used by UAG to access the SharePoint server. This name can be anything that is resolvable on the UAG server. Even an IP-address can be used unless Kerberos constraint delegation is not used. The name must be resolvable by the client computer, is required as application URL and public name in the UAG configuration and must be set as AAM in SharePoint.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s