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

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.

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