Hybird exchange configuration problem

keith li 51 Reputation points
2024-12-02T16:40:54.54+00:00

Dear All,

   I have setup Hybird exchange and trying to migrate on-premise mailbox to M365, and i found the following issue during the office 365 Hybrid configuration, and then i used Test-MigrationServerAvailability, it stated that AutoDiscover failed, amd i use exchange poweshell command to test communication with remote servers (please see bottom result), i dont know if i created correct DNS record for AutoDiscover in godaddy, please find below screenshot, any help would be appreicated

Hybrid Agent setup - validate hybrid agent for exchange usage error

HC.jpg

outlook connectivity test

connectivity test.jpg

godaddy CNAME autodiscovery record

dns1.jpg

godaddy SRV autodiscovery record

dns2.jpg

ping autodiscovery result

ping.jpg

Test-MigrationServerAvailability cmdlet in the Exchange Management Shell to test communication with the remote servers that hosts the mailboxes that you want to move

[PS] C:\Windows\system32>Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress *** Email address is removed for privacy *** -Credentials (Get-Credential) cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters: Credential RunspaceId : 52ce5014-d5a7-4ae0-9c81-83a5b7ed3b08 Result : Failed Message : AutoDiscover failed with a configuration error: The migration service failed to detect the migration endpoint using the Autodiscover service. Consider using the Exchange Remote Connectivity Analyzer (https://testexchangeconnectivity.com) to diagnose the connectivity issues. ConnectionSettings : SupportsCutover : False ErrorDetail : internal error:Microsoft.Exchange.Migration.AutoDiscoverFailedConfigurationErrorException: AutoDiscover failed with a configuration error: The migration service failed to detect the migration endpoint using the Autodiscover service. Consider using the Exchange Remote Connectivity Analyzer (https://testexchangeconnectivity.com) to diagnose the connectivity issues. at Microsoft.Exchange.Migration.DataAccessLayer.MigrationEndpointBase.InitializeFromAutoDiscove r(MigrationEndpoint presentationObject, SmtpAddress emailAddress, Boolean acceptUntrustedCertificates) at Microsoft.Exchange.Management.Migration.MigrationService.Endpoint.TestMigrationServerAvailab ility.InternalProcessExchangeRemoteMoveAutoDiscover() IsValid : True Identity : ObjectState : New

Keith

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,255 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Jing-MSFT 10,385 Reputation points Microsoft External Staff
    2024-12-03T03:08:53.67+00:00

    Hi,@keith li

    Thanks for posting your question in the Microsoft Q&A forum.

    Based on the information you provided, it indicates that the migration service failed to detect the migration endpoint using the Autodiscover service.

    1.Can you provide hybrid configuration log?

    2.Did you choose Exchange Modern Hybrid Topology, or Exchange Classic Hybrid Topology?

    3.Are your users already migrated?

    In Office 365, we need to use http://autodiscover.*******.com/autodiscover/autodiscover.xml to retrieve the XML file.

    Unable to register Hybrid Agent in Exchange Server, you can refer to this link:https://learn.microsoft.com/en-us/exchange/troubleshoot/move-mailboxes/cannot-register-hybrid-agent

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.