Attempting to configure a Full Hybrid connection between our on-prem Exchange and Exchange 365 in preparation for full migration. After painfully troubleshooting all of the errors trying to get the "Office 365 Hybrid Configuration" applet to run, it is now getting stuck at "Adding Federated Domain"
![183024-image.png](https://learn-attachment.microsoft.com/api/attachments/183024-image.png?platform=QnA)
After investigating the error log here: %appdata%\Roaming\Microsoft\Exchange Hybrid Configuration I can see the errors below appearing in the log.
2022.03.14 21:41:49.823 ERROR 10277 [Client=UX, Activity=Domain Ownership, Session=OnPremises, Cmdlet=Set-FederatedOrganizationIdentifier, Thread=6]
FINISH Time=1075.1ms Results=PowerShell failed to invoke 'Set-FederatedOrganizationIdentifier': An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An error occurred accessing Windows Live. Detailed information: "The underlying connection was closed: An unexpected error occurred on a send.".". {CategoryInfo={Activity=[System.String] Set-FederatedOrganizationIdentifier,Category=[System.Management.Automation.ErrorCategory] InvalidResult,Reason=[System.String] ProvisioningFederatedExchangeException,TargetName=[System.String] ,TargetType=[System.String] },ErrorDetails=,Exception=[System.Management.Automation.RemoteException] An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An error occurred accessing Windows Live. Detailed information: "The underlying connection was c
losed: An unexpected error occurred on a send.".".,FullyQualifiedErrorId=[System.String] [Server=CFD-EX02,RequestId=d395096b-a1b0-4b59-b186-67b118264444,TimeStamp=3/14/2022 9:41:49 PM] [FailureCategory=Cmdlet-ProvisioningFederatedExchangeException] 584F1A5C,Microsoft.Exchange.Management.SystemConfigurationTasks.SetFederatedOrganizationIdentifier}
2022.03.14 21:41:49.837 ERROR 10224 [Client=UX, Page=DomainProof, Thread=6]
Microsoft.Online.CSE.Hybrid.PowerShell.PowerShellInvokeException: PowerShell failed to invoke 'Set-FederatedOrganizationIdentifier': An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An error occurred accessing Windows Live. Detailed information: "The underlying connection was closed: An unexpected error occurred on a send.".". {CategoryInfo={Activity=[System.String] Set-FederatedOrganizationIdentifier,Category=[System.Management.Automation.ErrorCategory] InvalidResult,Reason=[System.String] ProvisioningFederatedExchangeException,TargetName=[System.String] ,TargetType=[System.String] },ErrorDetails=,Exception=[System.Management.Automation.RemoteException] An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An error occurred accessing Windows Live. Detailed information: "The underlying connection was closed: An unexpected error occurred
on a send.".".,FullyQualifiedErrorId=[System.String] [Server=CFD-EX02,RequestId=d395096b-a1b0-4b59-b186-67b118264444,TimeStamp=3/14/2022 9:41:49 PM] [FailureCategory=Cmdlet-ProvisioningFederatedExchangeException] 584F1A5C,Microsoft.Exchange.Management.SystemConfigurationTasks.SetFederatedOrganizationIdentifier} ---> System.Management.Automation.RemoteException: An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An error occurred accessing Windows Live. Detailed information: "The underlying connection was closed: An unexpected error occurred on a send.".".
--- End of inner exception stack trace ---
at Microsoft.Online.CSE.Hybrid.PowerShell.PowerShellInvokeResult.CreateOrThrowMapped(String cmdlet, IReadOnlyDictionary2 parameters, DateTimeOffset start, IPowerShellDataStreams dataStreams, ILogger logger, IPowerShellObject[] objects) at Microsoft.Online.CSE.Hybrid.Provider.PowerShell.PowerShellProvider.PowerShellInstance.Invoke(String cmdlet, IReadOnlyDictionary
2 parameters, Int32 millisecondsTimeout)
at Microsoft.Online.CSE.Hybrid.PowerShell.RemotePowershellSession.Invoke(IPowerShell powershell, String cmdlet, IReadOnlyDictionary2 parameters, Int32 millisecondsTimeout) at Microsoft.Online.CSE.Hybrid.PowerShell.RemotePowershellSession.RunCommandInternal2(String cmdlet, SessionParameters parameters, Int32 millisecondsTimeout, Boolean skipCmdletLogging) at Microsoft.Online.CSE.Hybrid.PowerShell.RemotePowershellSession.RunCommandInternal(String cmdlet, SessionParameters parameters, Int32 millisecondsTimeout, PowerShellRetrySettings retrySettings, Boolean skipCmdletLogging) at Microsoft.Online.CSE.Hybrid.Session.PowerShellOnPremisesSession.SetFederatedOrganizationIdentifier(SmtpDomain accountNamespace, String delegationTrustLink, SmtpDomain defaultDomain) at Microsoft.Online.CSE.Hybrid.App.ViewModel.Pages.DomainProof.DomainInfo.AddFederatedDomain(IOnPremisesSession session, AppData appData) at System.Collections.Generic.List
1.ForEach(Action`1 action)
at Microsoft.Online.CSE.Hybrid.App.ViewModel.Pages.DomainProof.VerifyActivity(IOnPremisesSession session, EnvironmentBase environment)
Any tips to get the wizard to progress?
I have ruled out:
- TLS (TLS is set to 1.2 only)
- Proxy (there is no proxy server, and I've run this wizard from desktops on prem and in Azure)
- Timezone (I changed to UTC and tested after finding an article online)
Thanks!