UAG 2010 and SharePoint 2010 Hyperlink redirect on the pages

Couple of months back got stuck with this issue and after a while i was able to find the root cause and fix! Thought it might be useful for others.

Environment:

SP 2010 with Feb CU 2013

UAG 2010

TMG2010

SharePoint Web applications:

https://www.contoso.com --> (SSL) Published on UAG 2010 with windows authentication.

https://www.contoso.com --> (non-SSL) Published on TMG 2010 ( Different server) with Anonymous access.

Issue:

When we try to add a hyperlink (https://www.contoso.com/Pages/home.aspx ) on the SharePoint pages ( Using Insert hyperlink or on Content editor web part) on SSL web app (https://www.contoso.com), the URL link its getting redirected to something like this https://sslportal.contoso.com/uniquesig9c13994d80cecc9dd5e52e6f0ac391dc87c1145accac4d164eaa7f6066790e3b/uniquesig0/Pages/eBulletins/March_2013.aspx

Solution:

After analysing the trunk and UAG logs found that the issue is caused by the wrong web server address on UAG Portal Trunk for the application. Yes, we were using the FQDN address instead of the SharePoint server IP address.

image

We have created a new application on HTTPS trunk and confirmed this issue is not reproducible when we specify the SharePoint server IP address on the “Addresses” field. Confirmed with Microsoft partner community we should be using the SharePoint Server IP address not the FQDN.

Modified the application and updated the rule with the SharePoint IP address and everything started working as expected ( No URL redirection)

Hope that helps!

Cheers,

Bala