[Office 365] How to enable verbose log on MOSI Gateway Host

Resolution

MOSI Gateway does work as an IIS web application on the Office 365 Gateway Host.

The Verbose log of MOSI Gateway operations may be enabled in the file web.config of the web application. Open this file in any text editor and un-comment the <system.diagnostics> section, which is commented by default. Here is the default content of this section:

See Also

Starting from Service Automation Office 365 Integration 2.2, you may use the Office 365 Gateway log files placed on the Office 365 Gateway Host (O365GH) in the OFFICE365GATEWAY_DIR\APP_Data\XMLPayload directory, where OFFICE365GATEWAY_DIR is the directory of the Office 365 Gateway.

There are the following log files:

Customer-CustomerId, where CustomerId is a globally unique identifier (GUID) of a customer in the Microsoft cloud. These log files contain XML data of calls to the Microsoft cloud.

Callbacks. This log file contains XML data of callbacks from the Microsoft cloud to the Office 365 Gateway.

Note: If a call to the Microsoft cloud is failed, the XML request and XML response are also shown in the appropriate task log in Operations Automation.