Android - FAQ Support Center

How to collect ActiveSync device logs (EAS logs) from Exchange

Instructions


The procedure for collecting ActiveSync logs is as follows. Please send us the log collected after doing the followings.





For OWA(Outlook Web Access)

- OWA> Setting> General> Mobile Device> Start Logging

  1. Sign in to the OWA portal
  2. Click Mail to open Outlook on the web (formerly known as Outlook Web App).
  3. In the upper-right area of the page, click Settings ( Screen shot of Settings button ), and then click Options.
  4. In the navigation pane on the left, expand General, and then click Mobile Devices.
  5. In the list of devices, select the device that you want to track, and then click Start Logging().
  6. In the Information dialog box, click Yes.
  7. Reproduce the behavior that you want to capture in Nine, and then click Stop Logging (if you don't have additional behaviors to proceed for log collections. 

 If possible, please use Nine for a day at least after starting to capture with the Start Logging button. And then, please you have to send the log to us. 
 
An email message that contains the log file (EASMailboxLog.txt) as an attachment is sent to your mailbox. Therefore, you just send this log file with .txt to us.


For On-Premise

  1. Connect to Exchange Onprem by using PowerShell or connect using Exchange Management Shell. 
  2. Run the following command to enable ActiveSync logging for a specific user who has issues in synching the devices with exchange on premise.
    Set-CASMailbox alias -ActiveSyncDebugLogging:$true 
  3. Reproduce the behavior that you want to capture.
  4. Run the following command to retrieve the log:
    Get-MobileDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddresses "admin@yourexchangeadmin.com" 


For Online(Office 365)

  1. Connect to Exchange online by using Remote PowerShell For more information, see Connect to Exchange Online PowerShell 
  2. Run the following command to enable ActiveSync logging for a specific user who has issues in synching the devices with exchange online.
    Set-CASMailbox alias -ActiveSyncDebugLogging:$true 
  3. Reproduce the behavior that you want to capture.
  4. Run the following command to retrieve the log:
    Get-MobileDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddresses "admin@yourexchangeadmin.com" 


Note This command retrieves the statistics for the mobile device that's set up to synchronize with the mailbox of the user who you specified. In this example, it also sends the log file to admin@yourexchangeadmin.com.