Forum Discussion

jrsmith83's avatar
jrsmith83
Copper Contributor
Sep 09, 2026

Exchange SE Published Calendar URLs giving HTTP 500 error (both html and ics)

I'm getting an http 500 error when trying to browse any published calendar url. I already recreated the owa virtual directories and just updated to the latest patch level of Exchange Server SE. I did a failed request tracing for error 500 and I see the following info:

 

When I got to that section of the web.config I see the following under rewrite:

I tried using AI to "fix" this but it didn't fix anything. Can anyone offer any insite as to what's wrong here?

Thanks!

 

p.s. this was getting listed as spam so I will paste the text from the pictures in a reply below

1 Reply

  • jrsmith83's avatar
    jrsmith83
    Copper Contributor

     

    <rewrite>

    <outboundRules>

    <rule name="EEMS M2.1 OWA CSP - outbound" preCondition="EEMS M2.1 OWA SPA HTML shell - precondition" patternSyntax="ECMAScript" stopProcessing="false">

    <match serverVariable="RESPONSE_Content_Security_Policy" pattern="(.*)" />

    <action type="Rewrite" value="{R:1}; script-src-attr 'none'" />

    </rule>

    <preConditions>

    <preCondition name="EEMS M2.1 OWA SPA HTML shell - precondition" logicalGrouping="MatchAll" patternSyntax="ECMAScript">

    <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />

    <add input="{REQUEST_URI}" pattern="^/owa/?($|\?|default\.aspx|projection\.aspx|readingPane\.aspx|popout\.aspx)" />

    </preCondition>

    </preConditions>

    </outboundRules>

    </rewrite>