Overview

Enabling of EWS Trace for some modules might be useful for further investigation of any EWS issues which are happening between Archive Shuttle and Office 365.

Prerequisites

  • Access to Archive Shuttle UI
  • Access to Archive Shuttle Module installation path

Details

EWS Trace logs are available for:

  • Office 365 ingest module
  • Shortcut Process module
  • Exchange ingest module
  • EV Collector module when using EWS

Steps

  1. Navigate to \QUADROtech\Archive Shuttle Modules\
  2. Choose the module you want to do the EWS Trace against
  3. Backup the config file, i.e. ArchiveShuttle.Module.Office365.exe.config
  4. Open ArchiveShuttle.Module.Office365.exe.config and edit the line from:
    <add key="TraceMessages" value="false"/>

    to:

    <add key="TraceMessages" value="true"/>

    or add the one with the value ‘true’, if it is missing in the file.

  5. Save the config file
  6. Restart the module services
  7. Enable Trace log level via the Archive Shuttle GUI on the Modules screen for the module you did the change for

EWS Trace log entries will appear in module log files for the module you enabled the TraceMessages.
Example of the EWS Trace log:

2017-07-27 07:41:29Z|5552| 13|TRACE|                                             Trace|EWS: [AutodiscoverRequest] -> [<Trace Tag="AutodiscoverRequest" Tid="13" Time="2017-07-27 07:41:29Z" Version="15.1.0.0">
  <?xml version="1.0" encoding="utf-8"?>
  <soap:Envelope xmlns:a="http://schemas.microsoft.com/exchange/2010/Autodiscover" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
      <a:RequestedServerVersion>Exchange2013_SP1</a:RequestedServerVersion>
      <wsa:Action>http://schemas.microsoft.com/exchange/2010/Autodiscover/Autodiscover/GetUserSettings</wsa:Action>
      <wsa:To>https://l2-exc2010-01.l2.lab.quadrotech-it.com/autodiscover/autodiscover.svc</wsa:To>
    </soap:Header>
    <soap:Body>
      <a:GetUserSettingsRequestMessage xmlns:a="http://schemas.microsoft.com/exchange/2010/Autodiscover">
        <a:Request>
          <a:Users>
            <a:User>
              <a:Mailbox>dosktest25@lab.quadrotech-it.com</a:Mailbox>
            </a:User>
          </a:Users>
          <a:RequestedSettings>
            <a:Setting>InternalEwsUrl</a:Setting>
            <a:Setting>ExternalEwsUrl</a:Setting>
          </a:RequestedSettings>
        </a:Request>
      </a:GetUserSettingsRequestMessage>
    </soap:Body>
  </soap:Envelope>
</Trace>
]  
2017-07-27 07:41:29Z|5552| 13|TRACE|                                             Trace|EWS: [AutodiscoverResponseHttpHeaders -> [<Trace Tag="AutodiscoverResponseHttpHeaders" Tid="13" Time="2017-07-27 07:41:29Z">
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Persistent-Auth: true
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Date: Thu, 27 Jul 2017 07:41:28 GMT
Server: Microsoft-IIS/8.5
WWW-Authenticate: Negotiate oYG2MIGzoAMKAQChCwYJKoZIgvcSAQICooGeBIGbYIGYBgkqhkiG9xIBAgICAG+BiDCBhaADAgEFoQMCAQ+ieTB3oAMCARKicARuNIItvt4qc35/1C/LCJaK9eRKR0ppT+rlU7J2Kp52UED+Rvly+txO+g7IKFDwTjoFtt5r2fjRMTHMEfrIA6RQ6do1mhquxeJF1KLbeiDbzzpj4lU5KwKasxKffdUJmi+wGTuIQbQrDSsX51pxJDM=
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

For more details please contact Customer Experience Team.

Print Friendly, PDF & Email