This article describes how to collect Exchange ActiveSync device logs to troubleshoot sync issues between mobile devices and Exchange Online in Microsoft Office 365. If you can't sync your mobile device to your mailbox, you may be asked by Office 365 Support to collect logs for troubleshooting.
- The Get-ActiveSyncDeviceStatistics cmdlet returns a list of statistics about each mobile device. Additionally, it allows you to retrieve logs and send those logs to a recipient for troubleshooting purposes. You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not.
- Exchange ActiveSync for Mac (macOS) Devices. Updated 1 year ago by Sriram Kakarala Microsoft Exchange is one of the most frequently used email and calendar software. Hence it becomes important to be able to configure and control the Exchange settings on the fly.
- This test simulates the steps a mobile device uses to connect to an Exchange server using Exchange ActiveSync. Synchronization, Notification, Availability, and Automatic Replies These tests walk through many basic Exchange Web Services tasks to confirm they're working.
- If ActiveSync access is enabled for the mailbox, you'll see Disable Exchange ActiveSync. If ActiveSync access is disabled for the mailbox, you'll see Enable Exchange ActiveSync. In the Exchange Management Shell, replace with the identity of the mailbox (for example, name, alias, or email address), and run this command.
This article is intended for an Exchange Server administrator. If you experience issues with your Exchange account on your iPhone, iPad, or iPod touch, contact your company's Exchange Server administrator.
An iPhone, iPad, or iPod touch might get connection errors from an intermediate server. These errors happen if a transaction times out before the Mailbox server and device finish a session. Sometimes, a Time to Live (TTL) or heartbeat interval (HBI) on the intermediate servers is shorter than the life of the Exchange ActiveSync transactions. When this happens, the device and the Mailbox server don't communicate.
Check the TTL settings for the intermediate servers between the iOS devices and the Mailbox server. ActiveSync transactions fail when these settings don't exceed the maximum TTL.
Identify the error
When the transaction takes longer than the TTL settings allow, an error appears on the device. It might be an HTTP 500 error or a Status error 110. These errors might delay the account data in that folder or cause it to reload. For example, requests to sync an Exchange Calendar might result in a series of 500 errors in a row. When this happens, iOS asks Exchange to send all calendar data the next time it connects. This lets iOS replace its local cache of calendar data.
Check the ActiveSync log to find out what type of error the device received at the time of the issue. Here's an example of an HTTP 500 error in an ActiveSync log:
Event Type: Error
Event Source: Server ActiveSync
Computer: Server
Event Source: Server ActiveSync
Computer: Server
Description: Unexpected Exchange mailbox Server error: Server: [myserver.company.com] User: [[email protected]] HTTP status code: [500]. Verify that the Exchange mailbox Server is working correctly.
Learn how to identify the HTTP or Status errors in your Exchange logs.
Set the server's HBI to 59 minutes
The HBI is the amount of time that iOS calculates should pass between pings to the server. If you're the Exchange Server administrator, set the server's HBI to 59 minutes. Learn how to adjust the HBI for your server.
Confirm the timeout for all network firewalls
If you're the system or network administrator, set all network firewalls to time out at 30 minutes or more. The default timeout for some devices might be as low as five minutes. Give the pings and other sync processes enough time to travel to the mailbox and back. Learn how to set and confirm all network firewall settings.
Update the iPhone, iPad, or iPod touch settings
To decrease the amount of data that syncs to the device, lower these settings:
Activesync Exchange For Mac Catalina
- The number of Mail Days to Sync
- The Sync Calendar Events timeframe
- How often the device fetches data from the server, and how often the server pushes data to the device