"Active Sync URL was in an Invalid format" error message when you use the Remote Connectivity Analyzer tool to troubleshoot Exchange ActiveSync in Office 365

Article translations Article translations
Article ID: 2786061 - View products that this article applies to.

Not sure what release of Office 365 you're using? Go to the following Microsoft website:
Am I using Office 365 after the service upgrade?

Note
This scenario applies only to Microsoft Office 365 customers who have a hybrid deployment of Exchange Online and on-premises Exchange Server.
Expand all | Collapse all

PROBLEM

When you try to use the Microsoft Remote Connectivity Analyzer tool to troubleshoot Microsoft Exchange ActiveSync (EAS) in your organization, you receive the following error message:
ActiveSync URL was in an Invalid format. It should be https://host/Microsoft-Server-ActiveSync. The URL was <Your URL>.
Note When you run the test, an HTTP request is sent to the MobileSync Autodiscover provider on the Client Access server. This request is made to obtain an external URL for ActiveSync devices to use when ActiveSync devices connect to the Exchange server.  

CAUSE

This issue occurs if the external URL isn't in the following format:
https://<hostname>/Microsoft-Server-ActiveSync
Note In this URL, the <hostname> placedholder represents the fully qualified domain name (FQDN) of the external Domain Name System (DNS) that ActiveSync devices use to connect to EAS.

SOLUTION

To fix this issue, check the setting of the ExternalURL property for the Microsoft-Server-ActiveSync virtual directory on the on-premises Exchange server. To do this, follow these steps:
  1. Open Exchange Management Console (EMC) on the on-premises Exchange server.
  2. Expand Server Configuration, select Client Access, select the appropriate Client Access server, and then click the Exchange Active Sync tab.
  3. Select the Microsoft-Server-ActiveSync virtual directory, and then click Properties.
  4. Make sure that the ExternalURL property uses the following format:
    https://<hostname>//Microsoft-Server-ActiveSync
Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2786061 - Last Review: September 11, 2013 - Revision: 6.0
Applies to
  • Microsoft Office 365 for enterprises (pre-upgrade)
  • Microsoft Office 365 for education  (pre-upgrade)
  • Microsoft Office 365 for small businesses  (pre-upgrade)
  • Microsoft Exchange Online
Keywords: 
o365 o365062011 pre-upgrade o365m o365022013 after upgrade hybrid o365a o365e o365p KB2786061

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com