Select the product you need help with
Error message when you try to migrate users from an on-premises Exchange Server environment to Exchange Online in Office 365: "Unable to connect to the server"Article ID: 2389390 - 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?
(http://office.microsoft.com/redir/HA103982331.aspx)
PROBLEMUnable to connect to the server. Please check the connection settings you supplied and try again. CAUSEThis issue occurs for one or more of the following reasons:
SOLUTIONTo fix this issue, follow these steps. Note Migrating users from on-premises Exchange 2003 isn't supported in Office 365. Step 1: Check Outlook Anywhere or RPC over HTTP settings on the on-premises Exchange serverCollapse this image ![]() For Exchange Server 2003: http://technet.microsoft.com/en-us/library/aa997495(v=exchg.65).aspx Outlook Anywhere requires that Internet Information Services (IIS) websites for Exchange Server use Basic authentication. For more info about how to set up Basic authentication for Outlook Anywhere, go to one of the following Microsoft websites:
(http://technet.microsoft.com/en-us/library/aa997495(v=exchg.65).aspx)
For Exchange Server 2007: http://technet.microsoft.com/en-us/library/bb123889(EXCHG.80).aspx
(http://technet.microsoft.com/en-us/library/bb123889(EXCHG.80).aspx)
For Exchange Server 2010: http://technet.microsoft.com/en-us/library/bb123741(v=exchg.141).aspx
(http://technet.microsoft.com/en-us/library/bb123741(v=exchg.141).aspx)
For Exchange Server 2013: http://technet.microsoft.com/en-us/library/bb123741.aspx
(http://technet.microsoft.com/en-us/library/bb123741.aspx)
For Exchange Server 2003: http://technet.microsoft.com/en-us/library/bb124462(EXCHG.65).aspx Make sure that Secure Sockets Layer (SSL) is set up for Outlook Anywhere. For more info, go to one of the following Microsoft websites:
(http://technet.microsoft.com/en-us/library/bb124462(EXCHG.65).aspx)
For Exchange Server 2007: http://technet.microsoft.com/en-us/library/bb124149(EXCHG.80).aspx
(http://technet.microsoft.com/en-us/library/bb124149(EXCHG.80).aspx)
For Exchange Server 2010: http://technet.microsoft.com/en-us/library/bb124149(v=exchg.141).aspx
(http://technet.microsoft.com/en-us/library/bb124149(v=exchg.141).aspx)
For Exchange Server 2003: http://technet.microsoft.com/en-us/library/aa997449(EXCHG.65).aspx If you're using the Staged Migration option or the Cutover Migration option in the Exchange Admin Center to migrate mail data from Exchange Server 2013, Outlook Anywhere must be set up correctly. For more info, go to the following Microsoft website:
(http://technet.microsoft.com/en-us/library/aa997449(EXCHG.65).aspx)
For Exchange Server 2007: http://technet.microsoft.com/en-us/library/aa995982(EXCHG.80).aspx
(http://technet.microsoft.com/en-us/library/aa995982(EXCHG.80).aspx)
For Exchange Server 2010: http://technet.microsoft.com/en-us/library/aa995982(v=exchg.141).aspx
(http://technet.microsoft.com/en-us/library/aa995982(v=exchg.141).aspx)
http://technet.microsoft.com/en-us/library/bb123741.aspx If you're trying to migrate users by using the Remote Move option in the Exchange Admin Center, the Mailbox Replication Service Proxy must be enabled on the Exchange servers. For more info, go to one of the following Microsoft websites:
(http://technet.microsoft.com/en-us/library/bb123741.aspx)
For Exchange Server 2010: http://technet.microsoft.com/en-us/library/ee732395(v=exchg.141).aspx
(http://technet.microsoft.com/en-us/library/ee732395(v=exchg.141).aspx)
For Exchange Server 2013: http://technet.microsoft.com/en-us/library/hh529921.aspx
(http://technet.microsoft.com/en-us/library/hh529921.aspx)
Collapse this image ![]() Step 2: Confirm that the public certificate is valid for Outlook AnywhereCollapse this image ![]()
Collapse this image ![]() Step 3: Use Remote Connectivity Analyzer to perform an Outlook Anywhere testCollapse this image ![]() To troubleshoot connectivity failures to the on-premises Exchange Server environment, follow these steps:
Collapse this image ![]() Step 4: Validate the permissions that are required to migrate users from the on-premises Exchange Server environmentCollapse this image ![]() For more info about how to provide valid permissions to the migration accounts, see the following Microsoft resources: For Exchange Server 2003 268754
(http://support.microsoft.com/kb/268754 /
)
How to assign users or groups full access to other user mailboxes 821897
(http://support.microsoft.com/kb/821897 /
)
How to assign service account access to all mailboxes in Exchange Server 2003 For Exchange Server 2007 http://technet.microsoft.com/en-us/library/bb124097(EXCHG.80).aspx
(http://technet.microsoft.com/en-us/library/bb124097(EXCHG.80).aspx)
http://technet.microsoft.com/en-us/library/aa996343(EXCHG.80).aspx
(http://technet.microsoft.com/en-us/library/aa996343(EXCHG.80).aspx)
For Exchange Server 2010 http://technet.microsoft.com/en-us/library/bb124097.aspx
(http://technet.microsoft.com/en-us/library/bb124097.aspx)
http://technet.microsoft.com/en-us/library/dd638132.aspx
(http://technet.microsoft.com/en-us/library/dd638132.aspx)
Collapse this image ![]() Step 5: Use the Test-MigrationServerAvailability cmdlet to obtain additional details about the errorCollapse this image ![]() The following is an example of how to use this command to test access to a server that's running Exchange Server 2007 and on which Autodiscover is set up: $PSCredentials = Get-Credential Test-MigrationServerAvailability -Autodiscover –EmailAddress administrator@contoso.com -Credentials $PSCredentials -Verbose The following is an example of how to use this command to test the connection to a server that's running Exchange Server 2003 or on which Exchange Autodiscover isn't set up: $PSCredentials = Get-Credential Test-MigrationServerAvailability -Exchange -ExchangeServer exch2k3.contoso.com -Credentials $PSCredentials -RPCProxyServer mail.contoso.com -Authentication NTLM -Verbose Collapse this image ![]() MORE INFORMATIONVideo: "Unable to Connect to the Server" Error Message When Migrating Using the ECPCollapse this image ![]()
(http://aka.ms/xw5hkg)
Collapse this image ![]() PropertiesArticle ID: 2389390 - Last Review: July 10, 2013 - Revision: 42.0 Applies to
| Article Translations
|










Back to the top








