You may receive intermittent HTTP 500 errors when you try to access web applications through Microsoft Forefront Unified Access Gateway 2010 if you are not authorized to access the application. For example, this issue may occur when you are not a member of an authorized group or when you do not meet the Unified Access Gateway endpoint access policy for the application.
If you update the webpage, the HTTP 500 error may be replaced with the correct "You are not authorized" error page. This issue is typically seen on requests to a published Outlook Web App (OWA) application. But this issue may also affect other web applications. This issue occurs only if you publish Outlook Anywhere or Microsoft Exchange ActiveSync on the same trunk.
If you update the webpage, the HTTP 500 error may be replaced with the correct "You are not authorized" error page. This issue is typically seen on requests to a published Outlook Web App (OWA) application. But this issue may also affect other web applications. This issue occurs only if you publish Outlook Anywhere or Microsoft Exchange ActiveSync on the same trunk.