Symptoms

An attempt to modify and save an Office 365 application instance fails with the following error message in OA CP:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ... ><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> <h2>404 - File or directory not found.</h2> <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div> </div> </body> </html>

An Office 365 configuration task fails with the following error message:

APS Application Error: 
404 Not Found
[ApplicationUnknownError] Unprovisioning: resource 264511f8-4aa8-4413-a60c-e1c0959f7843 of type 'office365users' (http://www.parallels.com/Office365/User/1.3) for APS application 'Office 365-16.6.1-16': <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The following can be found in IIS failed requests tracing log after enabling it on the O365 endpoint:

<EventData>
    <Data Name="ContextId">{00000000-0000-0000-9D01-0080000000F3}</Data>
    <Data Name="HeaderName">URLSCAN-STATUS-HEADER</Data>
    <Data Name="HeaderValue">Verb-not-allowed</Data>
    <Data Name="Replace">true</Data>
</EventData>

Cause

PUT and DELETE requests to the Office 365 endpoint (MOSI GW) are blocked by UrlScan module enabled for Office 365 application website in IIS.

Resolution

Remove UrlScan from Office 365 application website:

  1. Login to the MOSI Gateway and open IIS Manager.
  2. Go to Office 365 application website and open ISAPI Filters.
  3. Select UrlScan filter and remove it. You can find it by executable path C:\Windows\system32\inetsrv\urlscan\urlscan.dll.

  4. Open Command Line as Administrator user and execute:

    iisreset
    

Internal content