question

heavy-d avatar image
0 Votes"
heavy-d asked joyceshen-MSFT commented

Office 365 migration endpoint fails

Can not create a migration endpoint in Office 365 to on-prem Exchange 2016. Everything else works, Outlook and OWA work. When I troubleshoot with Test-MigrationServerAvailability I keep getting "The RPC server is unavailable". I have tried autodiscover switch and manually setting the rpc server and exchange server. Same error. I have verified the user account permissions and valid login with OWA.
Any ideas would be greatly appreciated.

office-exchange-online-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @heavy-d

Any update?

0 Votes 0 ·
joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered

Hi @heavy-d

According to your description above, you failed creating a migration end point in O365 side. What migration are you going to perform?

Could you please provide the complete error information you received when perform the migration and create the migration endpoint?

Have you tried using ExRCA tool to test if there is any connectivity issue?

Here is the official document introduces about the issue "The RPC server is unavailable" which occurs when you try to perform a cutover migration from an on-premises Exchange organization that uses Outlook Anywhere (also known as RPC over HTTP) to Exchange Online.

We may also try creating the migration endpoint manually, New-MigrationEndpoint. Espically check the descriptions for different types of migrations


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
 

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

heavy-d avatar image
0 Votes"
heavy-d answered joyceshen-MSFT commented

I am finding inconsistent results. When I run command Test-OutlookWebServices -Identity user@domain.com -MailboxCredential (Get-Credential) over and over I get different results. Occasionally it says successful for all 4 tests.
The Autodiscover: Outlook Provider seems to always be successful.
The Exchange Web Service sometimes is Failure.
The Availability Service sometimes is Failure
The Offline Address Book is always seems to be successful.
Where do I look for these issues?
Thanks

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

For the ExRCA tool I did the Outlook connectivity test. We are using HTTP redirect for Autodiscover. All passed except the very last part:
The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://mail.xxx.net/autodiscover/Autodiscover.xml for user adminmig@xxx.com.
The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response.
Additional Details
A Web exception occurred because an HTTP 400 - 400 response was received from Unknown.
HTTP Response Headers:
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Connection: close
Content-Length: 87
Content-Type: text/html
Date: Tue, 16 Mar 2021 13:48:53 GMT

This is odd, since we have no problems setting up Outlook using autodiscover.

0 Votes 0 ·

Hi,

Please refer to the discussion in this related thread: Autodiscover HTTP 400 Bad request


0 Votes 0 ·

Hi

Any update?

Have you checked what result returned back if you access the xml address in browser?

Check the virtual directories for your on-prem Exchange server as well.
Get-WebServicesVirtualDirectory

0 Votes 0 ·
heavy-d avatar image
0 Votes"
heavy-d answered

When I access the Autodiscover URL:
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">;
<Response>
<Error Time="12:55:45.6740272" Id="3668329655">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData/>
</Error>
</Response>
</Autodiscover>
When I run Get-WebServicesVirtualDirectory
Name Server InternalUrl


EWS (Default Web Site) server02 https://server02.internal.local/EWS/Exchange.asmx
EWS (Default Web Site) server01 https://server01.internal.local/EWS/Exchange.asmx
EWS (Default Web Site) server03 https://server03.internal.local/EWS/Exchange.asmx

Was there specific info from the command you were looking for?
Thanks!!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelHahn-1668 avatar image
0 Votes"
MichaelHahn-1668 answered MichaelHahn-1668 edited

Hello,

How should the o365 migration point connect to your exchange? When the EWS (Default Web Site) is on an internal link?

Have you tried to set the "exchange proxy" in O365 migration config to something like https://mail.xxx.net/EWS/Exchange.asmx ?

you should check all the exchange url.

 Get-ClientAccessService
 Get-OutlookAnywhere
 Get-MapiVirtualDirectory
 Get-OabVirtualDirectory
 Get-ActiveSyncVirtualDirectory
 Get-WebServicesVirtualDirectory
 Get-EcpVirtualDirectory
 Get-OwaVirtualDirectory
    
 Look  what  you get back for
 -internalurl
 -externalurl
    
 at least the external url should be an "routable" domain. like https://mail.*****.net/.....

And check your mx DNS entries with

nslookup
set type=mx
mail..net
or yourdomain.net (without mail.)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

heavy-d avatar image
0 Votes"
heavy-d answered joyceshen-MSFT commented

Get-ClientAccessService - dont see anything for External - should there be?
Get-OutlookAnywhere - ExternalUrl is correct
Get-MapiVirtualDirectory - ExternalUrl is correct
Get-OabVirtualDirectory - ExtrnalUrl is correct
Get-ActiveSyncVirtualDirectory - ExternalUrl is correct (ExternalAuthenicationMethods is blank, what should it be?)
Get-WebServicesVirtualDirectory - ExternalUrl is correct
Get-EcpVirtualDirectory - ExternalUrl is correct
Get-OwaVirtualDirectory - ExternalUrl is correct
MX is correct
Did I miss anything?
Thanks!!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi

Referring to this to check if you have configured all virtual directories properly

Exchange Autodiscover – A Guide to Making Exchange Work Properly

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


0 Votes 0 ·