Search Engine: Elastic

Article ID: 129487, created on Sep 22, 2016, last review on Sep 22, 2016

  • Applies to:
  • Operations Automation


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' ( for APS application 'Office 365-16.6.1-16': <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

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

    <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>


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


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:


5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF