• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 111518, created on Jun 23, 2011, last review on Nov 18, 2015

  • Applies to:
  • Operations Automation 5.4

Resolution

POA works with Microsoft Office 365 servers using MOSI Gateway software, which is working as a web application on the Windows Gateway Host.

To test the connectivity between MOSI Gateway and Microsoft Office 365 servers, one may use the curl utility on any server in the POA infrastructure connected to the Internet. Curl utility for Windows could be downloaded from the following location: http://curl.haxx.se/download.html

Below is an example of the request and correct response:

  • For APS 1.2:

    # echo '{}' | curl -H "X-MOSI-Gateway-Method: testConnectivity" -H "X-MOSI-Gateway-Required-Version: 1.0" -D - -d @- -X POST <MOSI_GATEWAY_URL>
    HTTP/1.1 200 OK
    Cache-Control: private
    Server: Microsoft-IIS/7.5
    Set-Cookie: ASP.NET_SessionId=nocevu55eamhmk55uexftt45; path=/; HttpOnly
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Thu, 23 Jun 2011 08:55:10 GMT
    Content-Length: 0
    

    Replace <MOSI_GATEWAY_URL> in the command above with the actual URL of MOSI Gateway installed in the POA-managed environment, it may look like this - https://office365gateway01.hosting.local/Office365Gateway01/HttpEndpoint.aspx.

  • For APS 2.0:

    # curl -H "X-MOSI-Gateway-Method: testConnectivity" -H "X-MOSI-Gateway-Required-Version: 1.0" -k -D - -d - -X POST GATEWAY_URL
    

    If the call reports that the callback was not received, grab the XML payload returned and contact the Microsoft support.

MOSI Gateway URL may be found in the POA Provider Control Panel in properties of the resource type created for the APS application Office 365:

  • Log into the POA Provider Control Panel
  • Go to Top > Service Director > Application Manager > Applications
  • Click on the Office 365 application
  • Switch to the *Resource Types *tab
  • Click on the resource type based on the resource class Application
  • Switch to the *Activation Parameters *tab
  • Switch to the *Global Settings *sub-tab
  • Get the value of the parameter URL for MOSI Connector

Once the script returns the correct response (HTTP status 200 OK), you can watch the results of the communication to the MOSI endpoints in the file OFFICE365GATEWAY_DIR\APP_Data\XMLPayload\Customer-Pings file, where OFFICE365GATEWAY_DIR is the directory of the Office 365 Gateway. This file contains the sycnronous part of the MOSI Ping (a call to the IStatus.Ping() method) exchange. The asynchronous part of the MOSI Ping response will be written to the OFFICE365GATEWAY_DIR\APP_Data\XMLPayload\Callbacks file

Search Words

failed resource upgrade

testconnectivity

office 365

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF