How to collect ActiveSync device logs (EAS logs) from Exchange
book
Article ID: CTX228077
calendar_today
Updated On:
Description
For On premise
- Connect to Exchange Onprem by using PowerShell or connect using Exchange Management Shell.
- 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
- Reproduce the behaviour that you want to capture.
- Run the following command to retrieve the log:
Get-MobileDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddresses "admin@yourexchangeadmin.com"
For Online(Office 365)
- Connect to Exchange online by using Remote PowerShell For more information, see Connect to Exchange Online using remote PowerShell
- 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
- Reproduce the behaviour that you want to capture.
- 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.
Using OWA(Outlook Web Access)
- Sign in to the OWA portal
- Click Mail to open Outlook on the web (formerly known as Outlook Web App).
- In the upper-right area of the page, click Settings (
), and then click Options. - In the navigation pane on the left, expand General, and then click Mobile Devices.
- In the list of devices, select the device that you want to track, and then click Start Logging.
- In the Information dialog box, click Yes.
- Reproduce the behavior that you want to capture, and then click Retrieve Log.
An email message that contains the log file (EASMailboxLog.txt) as an attachment is sent to your mailbox.
Issue/Introduction
This article explains how to collect ActiveSync device logs EAS logs from Exchange.
Was this article helpful?
thumb_up
Yes
thumb_down
No