Exchange ActiveSync Returned an HTTP 451 Error

Topic Last Modified: 2009-08-18

The Microsoft Remote Connectivity Analyzer sends an Exchange ActiveSync FolderSync command to the URL specified. If an HTTP 451 response code is received from the server, then the Microsoft Remote Connectivity Analyzer tool returns the following error:

"Exchange ActiveSync returned an HTTP 451 response. (Device Misconfigured)."

For More Information

Exchange 2007 returns an HTTP 451 response to an Exchange ActiveSync client when it determines that the device should be using a "better" Client Access server for ActiveSync connectivity. The logic used to determine if a Client Access server is "better" for a device to be using is based on Active Directory sites and whether a Client Access server is considered "Internet-facing." If the ExternalUrl property on the Microsoft-Server-ActiveSync virtual directory is specified, then that Client Access server is considered to be "Internet-Facing" for Microsoft ActiveSync connectivity.

If the user mailbox being tested isn't in the same Active Directory site as the Client Access server that is being accessed, there can be a Client Access server in the site with the mailbox server that has the ExternalUrl property set. If you're attempting to configure ActiveSync to proxy from an Internet-facing site to a second site (Intranet), ensure that the ExternalUrl property isn't set on the Microsoft-Server-ActiveSync virtual directory in the Intranet site.

For more information about configuring Client Access servers for Proxy and Redirection, see Understanding Proxying and Redirection.

If you have multiple Client Access servers in the same Active Directory site as the Client Access servers being tested, ensure that the ExternalUrl parameter is populated on each of the Microsoft-Server-ActiveSync virtual directories. If the ExternalUrl property is missing on the Client Access server being tested, then this error can occur.

For more information about setting the ExternalUrl attribute on the ActiveSync virtual directory, see Set-ActiveSyncVirtualDirectory.

The Microsoft Remote Connectivity Analyzer has limited documentation at this time. To improve the documentation for each of the errors you might receive, we would like to solicit additional information from the community. Use the Community Content section to post additional reasons why you failed at this point.  If you need technical assistance, create a post in the appropriate Exchange TechNet forum or contact support.