The match on the url was ignoring the query string parameter and not matching at all. This rule is working for me:



<rewrite>
<rules>
<rule name="EscapedFragment"...