I'm trying to migrate users from Exchange 2007 to Office 365. For last few months all new users were created on Office 365 but it is time to move existing ones there as well. I also have Exchange 2013 on premises with group of users migrated there from 2007 and they will stay there. Emails are still sent using 2007 through Edge server (legacy.mydomain.com) and OWA is going to 2013 through Sonicwall (mail.mydomain.com).
When I test Outlook connectivity on testconnectivity.microsoft.com I have error Testing RPC over HTTP connectivity to server mail.mydomain.com RPC over HTTP connectivity failed.
Attempting to ping RPC proxy mail.mydomain.com
RPC Proxy can't be pinged.
Additional Details
An unexpected network-level exception was encountered. Exception details:
Message: The remote server returned an error: (404) Not Found.
Type: Microsoft.Exchange.Tools.ExRca.Extensions.MapiTransportException
Stack trace:
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
at Microsoft.Exchange.Tools.ExRca.Tests.MapiPingProxyTest.PerformTestReally()
Exception details:
Message: The remote server returned an error: (404) Not Found.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at RpcPingLib.RpcPing.PingProxy(String internalServerFqdn, String endpoint)
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
Elapsed Time: 94 ms.
It is trying to use mail.mydomain.com and this email is on old Exchange 2007 (legacy.mydomain.com).
Office 365 migration uses Outlook anywhere to set up the migration endpoint. There should be something wrong with configuration of Outlook anywhere.
Any help would be appreciated.