HCW0 - The method or operation is not implemented when running last step in Hybrid Configuration Wizard

JL_CCN 0 Reputation points
2024-07-31T06:19:43.2133333+00:00

We are running a full hybrid exchange environment and I'm getting this error when running the last step of the HCW.

HCW0 - The method or operation is not implemented.

2024.07.26 21:30:59.298 10265 [Client=UX, Page=Ready, Thread=1] START via Next

2024.07.26 21:31:21.519 10266 [Client=UX, Page=Ready, Thread=1] FINISH Time=22.2s

2024.07.26 21:31:21.535 10265 [Client=UX, Page=Configuring, Thread=1] START via Next

2024.07.26 21:31:21.550 10098 [Client=UX, Provider=OnPremises, Thread=19] Opening Runspace.

2024.07.26 21:31:22.272 10276 [Client=UX, Session=OnPremises, Cmdlet=Get-ExchangeServer, Thread=19] START

2024.07.26 21:31:22.412 10277 [Client=UX, Session=OnPremises, Cmdlet=Get-ExchangeServer, Thread=19]

                                  FINISH Time=139.0ms Results=2

                                  ExchangeServer {AdminDisplayVersion='Version 14.3 (Build 123.4)' CurrentDomainControllers=[] CurrentGlobalCatalogs=[] DataCollectionEnabled=1 DataPath='D:\Program Files\Microsoft\Exchange Server\V14\Mailbox' Domain='exampledomain.com' Edition='Enterprise' ExchangeLegacyServerRole=0 ExchangeVersion='0.1 (8.0.535.0)' Fqdn='EXCH2.exampledomain.com' Guid=978aac3a-05a9-49aa-980d-2533efc0288f Id='EXCH2' Identity='EXCH2' IsClientAccessServer=1 IsE14OrLater=1 IsE15OrLater=0 IsEdgeServer=0 IsExchange2007OrLater=1 IsExchangeTrialEdition=0 IsExpiredExchangeTrialEdition=0 IsFrontendTransportServer=0 IsHubTransportServer=1 IsMailboxServer=1 IsProvisionedServer=0 IsUnifiedMessagingServer=0 IsValid=1 MitigationsEnabled=1 Name='EXCH2' NetworkAddress=['ncacn_vns_spp:EXCH2', 'netbios:EXCH2', 'ncacn_np:EXCH2', 'ncacn_spx:EXCH2', 'ncacn_ip_tcp:EXCH2.exampledomain.com', 'ncalrpc:EXCH2'] ObjectState='Unchanged' ProductID='02064-110-8022196-75

                                  614' RemainingTrialPeriod='00:00:00' ServerRole='Mailbox, ClientAccess, HubTransport' Site='exampledomain.com/Configuration/Sites/Default-First-Site-Name' StaticDomainControllers=[] StaticExcludedDomainControllers=[] StaticGlobalCatalogs=[] WhenChanged='7/19/2023 9:58:52 AM' WhenChangedUTC='7/19/2023 2:58:52 PM' WhenCreated='3/8/2011 5:38:09 PM' WhenCreatedUTC='3/8/2011 11:38:09 PM'}

                                  ExchangeServer {AdminDisplayVersion='Version 15.1 (Build 2507.6)' CurrentDomainControllers=[] CurrentGlobalCatalogs=[] DataCollectionEnabled=1 DataPath='E:\Microsoft\Exchange Server\V15\Mailbox' Domain='exampledomain.com' Edition='Standard' ExchangeLegacyServerRole=0 ExchangeVersion='0.1 (8.0.535.0)' Fqdn='EXCH5.exampledomain.com' Guid=9fd6c571-7c68-43b8-8e30-0520e1bef591 Id='EXCH5' Identity='EXCH5' IsClientAccessServer=1 IsE14OrLater=1 IsE15OrLater=1 IsEdgeServer=0 IsExchange2007OrLater=1 IsExchangeTrialEdition=0 IsExpiredExchangeTrialEdition=0 IsFrontendTransportServer=1 IsHubTransportServer=1 IsMailboxServer=1 IsProvisionedServer=0 IsUnifiedMessagingServer=1 IsValid=1 MitigationsApplied=['PING1'] MitigationsAppliedTime='7/26/2024 8:54:28 PM' MitigationsEnabled=1 Name='EXCH5' NetworkAddress=['ncacn_vns_spp:EXCH5', 'netbios:EXCH5', 'ncacn_np:EXCH5', 'ncacn_spx:EXCH5', 'ncacn_ip_tcp:EXCH5.exampledomain.com', 'ncalrpc:EXC

                                  H5'] ObjectState='Unchanged' ProductID='02064-004-0615002-02169' RemainingTrialPeriod='00:00:00' ServerRole='Mailbox' Site='exampledomain.com/Configuration/Sites/Default-First-Site-Name' StaticDomainControllers=[] StaticExcludedDomainControllers=[] StaticGlobalCatalogs=[] WhenChanged='7/26/2024 3:54:44 PM' WhenChangedUTC='7/26/2024 8:54:44 PM' WhenCreated='2/9/2023 11:26:36 PM' WhenCreatedUTC='2/10/2023 5:26:36 AM'}
```2024.07.26 21:31:22.413         10468 [Client=UX, Thread=19] AdminApiEnabled: True

2024.07.26 21:31:22.416         10101 [Client=UX, Provider=OnPremises, Thread=19] Disposing Runspace.

2024.07.26 21:31:22.459 *ERROR* 10203 [Client=UX, Page=Configuring, fn=RunWorkflow, Thread=19] 

```powershell
                                  System.NotImplementedException: The method or operation is not implemented.

                                     at Microsoft.Online.CSE.Hybrid.Common.MSALAuthProvider.Result.Microsoft.Online.CSE.Hybrid.Common.Abstract.IAuthenticationResult.get_RefreshToken()

                                     at Microsoft.Online.CSE.Hybrid.Common.BaseAuthCredential.GetAuthenticationResultFromCache(String authority, String resource, String clientId)

                                     at Microsoft.Online.CSE.Hybrid.Common.BaseAuthCredential.AcquireToken(String authority, String resource, String clientId, Uri redirectUri, Boolean promptMode)

                                     at Microsoft.Online.CSE.Hybrid.Provider.AdminApi.AdminApiProvider.Connect()

                                     at Microsoft.Online.CSE.Hybrid.Host.Environment.CreateSession[T](ILogger logger, IPowerShellLogger psiLogger, ICredential credential, String powerShellHost)

                                     at Microsoft.Online.CSE.Hybrid.App.AppData.CreateTenantSession()

                                     at Microsoft.Online.CSE.Hybrid.App.AppData.RunWorkflow(ILogger logger, WorkflowType workflowType, IEngineUserInterface userInterface, Boolean postSessionData)
```2024.07.26 21:33:13.335         10266 [Client=UX, Page=Configuring, Thread=1] FINISH Time=111.8s

2024.07.26 21:33:13.337         10265 [Client=UX, Page=Ready, Thread=1] START via Back

2024.07.26 21:33:15.038         10266 [Client=UX, Page=Ready, Thread=1] FINISH Time=1701.1ms

2024.07.26 21:33:15.042         10265 [Client=UX, Page=Configuring, Thread=1] START via Next

2024.07.26 21:33:15.044         10098 [Client=UX, Provider=OnPremises, Thread=30] Opening Runspace.

2024.07.26 21:33:15.812         10276 [Client=UX, Session=OnPremises, Cmdlet=Get-ExchangeServer, Thread=30] START 

2024.07.26 21:33:15.963         10277 [Client=UX, Session=OnPremises, Cmdlet=Get-ExchangeServer, Thread=30] 

```xml
                                  FINISH Time=151.0ms Results=2

                                  ExchangeServer {AdminDisplayVersion='Version 14.3 (Build 123.4)' CurrentDomainControllers=[] CurrentGlobalCatalogs=[] DataCollectionEnabled=1 DataPath='D:\Program Files\Microsoft\Exchange Server\V14\Mailbox' Domain='exampledomain.com' Edition='Enterprise' ExchangeLegacyServerRole=0 ExchangeVersion='0.1 (8.0.535.0)' Fqdn='EXCH2.exampledomain.com' Guid=978aac3a-05a9-49aa-980d-2533efc0288f Id='EXCH2' Identity='EXCH2' IsClientAccessServer=1 IsE14OrLater=1 IsE15OrLater=0 IsEdgeServer=0 IsExchange2007OrLater=1 IsExchangeTrialEdition=0 IsExpiredExchangeTrialEdition=0 IsFrontendTransportServer=0 IsHubTransportServer=1 IsMailboxServer=1 IsProvisionedServer=0 IsUnifiedMessagingServer=0 IsValid=1 MitigationsEnabled=1 Name='EXCH2' NetworkAddress=['ncacn_vns_spp:EXCH2', 'netbios:EXCH2', 'ncacn_np:EXCH2', 'ncacn_spx:EXCH2', 'ncacn_ip_tcp:EXCH2.exampledomain.com', 'ncalrpc:EXCH2'] ObjectState='Unchanged' ProductID='02064-110-8022196-75

                                  614' RemainingTrialPeriod='00:00:00' ServerRole='Mailbox, ClientAccess, HubTransport' Site='exampledomain.com/Configuration/Sites/Default-First-Site-Name' StaticDomainControllers=[] StaticExcludedDomainControllers=[] StaticGlobalCatalogs=[] WhenChanged='7/19/2023 9:58:52 AM' WhenChangedUTC='7/19/2023 2:58:52 PM' WhenCreated='3/8/2011 5:38:09 PM' WhenCreatedUTC='3/8/2011 11:38:09 PM'}

                                  ExchangeServer {AdminDisplayVersion='Version 15.1 (Build 2507.6)' CurrentDomainControllers=[] CurrentGlobalCatalogs=[] DataCollectionEnabled=1 DataPath='E:\Microsoft\Exchange Server\V15\Mailbox' Domain='exampledomain.com' Edition='Standard' ExchangeLegacyServerRole=0 ExchangeVersion='0.1 (8.0.535.0)' Fqdn='EXCH5.exampledomain.com' Guid=9fd6c571-7c68-43b8-8e30-0520e1bef591 Id='EXCH5' Identity='EXCH5' IsClientAccessServer=1 IsE14OrLater=1 IsE15OrLater=1 IsEdgeServer=0 IsExchange2007OrLater=1 IsExchangeTrialEdition=0 IsExpiredExchangeTrialEdition=0 IsFrontendTransportServer=1 IsHubTransportServer=1 IsMailboxServer=1 IsProvisionedServer=0 IsUnifiedMessagingServer=1 IsValid=1 MitigationsApplied=['PING1'] MitigationsAppliedTime='7/26/2024 8:54:28 PM' MitigationsEnabled=1 Name='EXCH5' NetworkAddress=['ncacn_vns_spp:EXCH5', 'netbios:EXCH5', 'ncacn_np:EXCH5', 'ncacn_spx:EXCH5', 'ncacn_ip_tcp:EXCH5.exampledomain.com', 'ncalrpc:EXC

                                  H5'] ObjectState='Unchanged' ProductID='02064-004-0615002-02169' RemainingTrialPeriod='00:00:00' ServerRole='Mailbox' Site='exampledomain.com/Configuration/Sites/Default-First-Site-Name' StaticDomainControllers=[] StaticExcludedDomainControllers=[] StaticGlobalCatalogs=[] WhenChanged='7/26/2024 3:54:44 PM' WhenChangedUTC='7/26/2024 8:54:44 PM' WhenCreated='2/9/2023 11:26:36 PM' WhenCreatedUTC='2/10/2023 5:26:36 AM'}
```2024.07.26 21:33:15.964         10468 [Client=UX, Thread=30] AdminApiEnabled: True

2024.07.26 21:33:15.964         10101 [Client=UX, Provider=OnPremises, Thread=30] Disposing Runspace.

2024.07.26 21:33:15.989 *ERROR* 10203 [Client=UX, Page=Configuring, fn=RunWorkflow, Thread=30] 

```powershell
                                  System.NotImplementedException: The method or operation is not implemented.

                                     at Microsoft.Online.CSE.Hybrid.Common.MSALAuthProvider.Result.Microsoft.Online.CSE.Hybrid.Common.Abstract.IAuthenticationResult.get_RefreshToken()

                                     at Microsoft.Online.CSE.Hybrid.Common.BaseAuthCredential.GetAuthenticationResultFromCache(String authority, String resource, String clientId)

                                     at Microsoft.Online.CSE.Hybrid.Common.BaseAuthCredential.AcquireToken(String authority, String resource, String clientId, Uri redirectUri, Boolean promptMode)

                                     at Microsoft.Online.CSE.Hybrid.Provider.AdminApi.AdminApiProvider.Connect()

                                     at Microsoft.Online.CSE.Hybrid.Host.Environment.CreateSession[T](ILogger logger, IPowerShellLogger psiLogger, ICredential credential, String powerShellHost)

                                     at Microsoft.Online.CSE.Hybrid.App.AppData.CreateTenantSession()

                                     at Microsoft.Online.CSE.Hybrid.App.AppData.RunWorkflow(ILogger logger, WorkflowType workflowType, IEngineUserInterface userInterface, Boolean postSessionData)
```2024.07.26 21:33:21.457         10044 [Client=UX, Thread=1] Opening C:\Users\administrators\AppData\Roaming\Microsoft\Exchange Hybrid Configuration\20240712_160823.log
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,250 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Jing-MSFT 10,155 Reputation points Microsoft External Staff
    2024-07-31T08:12:32.5233333+00:00

    Hi,@JL_CCN

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

    According to the information you provided, you are using Exchange sever2010. This version is no longer suitable for the current Hybrid Configuration. It is recommended that you upgrade to the latest Exchange Sever.

    If my answer is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.


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.