none
Hybrid configuration wizard with multi-forest try to remove the first end-point when try second one RRS feed

  • Question

  • Hello,

    I am trying to do migration for two forests with two Exchange organizations to same tenant as they share same namespace , I run hybrid configuration wizard on the first Exchange in the first organization everything works properly

    But when I try to run the HCW on the second server it fails and the error that it fails to remove the first endpoint on the first Exchange 

    10276 [Client=UX, Session=Tenant, Cmdlet=Remove-MigrationEndpoint, Thread=17] START Remove-MigrationEndpoint -Identity 'Hybrid Migration Endpoint - EWS (Default Web Site)' -Confirm: $false
    2020.06.21 22:05:13.276         10177 [Client=UX, Provider=Tenant, Thread=17] PowerShell Error Record: {CategoryInfo={Activity=[System.String] Remove-MigrationEndpoint,Category=[System.Management.Automation.ErrorCategory] 1000,Reason=[System.String] CannotRemoveEndpointWithAssociatedBatchesException,TargetName=[System.String] ,TargetType=[System.String] },ErrorDetails=,Exception=[System.Management.Automation.RemoteException] The endpoint 'Hybrid Migration Endpoint - EWS (Default Web Site)' cannot be removed because it is associated with one or more batches: test test.,FullyQualifiedErrorId=[System.String] [Server=BN8PR08MB5715,RequestId=37ec9aed-500c-4ae5-8963-c07d51768764,TimeStamp=6/21/2020 10:05:40 PM] [FailureCategory=Cmdlet-CannotRemoveEndpointWithAssociatedBatchesException] 5210AB4D,Microsoft.Exchange.Management.Migration.MigrationService.Endpoint.RemoveMigrationEndpoint}
    2020.06.21 22:05:13.292 *ERROR* 10277 [Client=UX, Session=Tenant, Cmdlet=Remove-MigrationEndpoint, Thread=17] 
                                          FINISH Time=2937.5ms Results=PowerShell failed to invoke 'Remove-MigrationEndpoint': The endpoint 'Hybrid Migration Endpoint - EWS (Default Web Site)' cannot be removed because it is associated with one or more batches: crownadmin test. {CategoryInfo={Activity=[System.String] Remove-MigrationEndpoint,Category=[System.Management.Automation.ErrorCategory] 1000,Reason=[System.String] CannotRemoveEndpointWithAssociatedBatchesException,TargetName=[System.String] ,TargetType=[System.String] },ErrorDetails=,Exception=[System.Management.Automation.RemoteException] The endpoint 'Hybrid Migration Endpoint - EWS (Default Web Site)' cannot be removed because it is associated with one or more batches: crownadmin test.,FullyQualifiedErrorId=[System.String] [Server=BN8PR08MB5715,RequestId=37ec9aed-500c-4ae5-8963-c07d51768764,TimeStamp=6/21/2020 10:05:40 PM] [FailureCategory=Cmdlet-CannotRemoveEndpointWithAssociatedB
                                          atchesException] 5210AB4D,Microsoft.Exchange.Management.Migration.MigrationService.Endpoint.RemoveMigrationEndpoint}

    The problem is that I don't want remove the first endpoint ,and why does it try to do that ?


    Sunday, June 21, 2020 10:21 PM

All replies

  • Hi,

    What's the version of the on-premise Exchange server?

    Before deploying hybrid with multiple forests, please check if we meet the prerequisites below:

    Autodiscover: Each Exchange forest must be authoritative for at least one SMTP namespace and the corresponding Autodiscover namespace. If there are shared domains across multiple Exchange forests, both mail routing and Autodiscover endpoints need to be configured and working properly between the Exchange forests before configuring your multi-forest hybrid deployment. The Office 365 service must be able to query the Autodiscover service in each Exchange forest.

    Namespace planning: Each forest in which you install Exchange requires its own unique externally-discoverable namespace. You will specify a forest's unique namespace in the Hybrid Configuration wizard when you run it in each forest.

    You could also refer to the below article to learn more about the endpoints in hybrid:

    Understanding Hybrid Migration Endpoints in Classic and Modern Hybrid 

    Regards,

    Joyce Shen


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Monday, June 22, 2020 2:50 AM
  • Hi,

    Is there any update about your issue?

    Regards,

    Joyce Shen


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Thursday, June 25, 2020 1:26 AM
  • Yes , it was simple :D , just remove current migration batch and rerun the hybrid configuration , sorry for late reply
    Monday, June 29, 2020 6:53 AM
  • Hi,

    You could mark your reply above as answer, this will make answer searching in the forum easier and be beneficial to other community members as well. Thanks for your understanding!

    Regards,

    Joyce Shen


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Wednesday, July 1, 2020 6:42 AM