"The URL contains an invalid path" error occurs when you try to access an Exchange 2013 OWA website


Consider the following scenario. You try to access a Microsoft Exchange 2013 Outlook Web Access (OWA) website that is published through a Microsoft Forefront Unified Access Gateway 2010 server. The server is running Service Pack 3. In this scenario, you may receive the following error message:

You have attempted to access a restricted URL, the URL contains an invalid path.

Additionally, multiple warning messages that resemble the following are logged in the Web monitor event log:

Note These messages are followed by a description that the URL contains an invalid path.


This problem occurs because some URLs that may be used during client Exchange 2013 OWA access are not matched by the Regex expressions in the *.RuleSet_ForExchangePub2013.ini files. These rulesets are included in the new Exchange 2013 publishing templates in Service Pack 3 for Forefront Unified Access Gateway 2010.


To resolve this problem, install Service Pack 4 for Microsoft Forefront Unified Access Gateway 2010.


To work around this problem, manually add the missing Exchange 2013 URLs to the existing Forefront Unified Access Gateway rulesets.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


See the terminology Microsoft uses to describe software updates.