[02/10/2025 02:51:27.0513] [2] Beginning processing set-ExchangeServerRole [02/10/2025 02:51:27.0513] [2] Searching objects "H10WP-UTLXCH3" of type "Server" under the root "$null". [02/10/2025 02:51:27.0577] [2] Previous operation run on domain controller 'HBSILDC01.halo-leewayne.com'. [02/10/2025 02:51:27.0577] [2] Processing object "H10WP-UTLXCH3". [02/10/2025 02:51:27.0577] [2] [ERROR] The domain is invalid. [02/10/2025 02:51:27.0583] [2] [ERROR] The domain is invalid. [02/10/2025 02:51:27.0583] [2] Ending processing set-ExchangeServerRole [02/10/2025 02:51:27.0583] [1] The following 1 error(s) occurred during task execution: [02/10/2025 02:51:27.0583] [1] 0. ErrorRecord: The domain is invalid. [02/10/2025 02:51:27.0583] [1] 0. ErrorRecord: Microsoft.Exchange.Data.DataValidationException: The domain is invalid. at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow) at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.Validate(TDataObject dataObject) at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.Task.b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed) [02/10/2025 02:51:27.0583] [1] [ERROR] The following error was generated when "$error.Clear(); set-ExchangeServerRole -Identity $RoleFqdnOrName -IsHubTransportServer:$true -DomainController $RoleDomainController " was run: "Microsoft.Exchange.Data.DataValidationException: The domain is invalid. at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow) at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.Validate(TDataObject dataObject) at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.Task.b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)". [02/10/2025 02:51:27.0583] [1] [ERROR] The domain is invalid. [02/10/2025 02:51:27.0583] [1] [ERROR-REFERENCE] Id=BridgeheadRoleSetterComponent___ee2508bb29aa41be936a35daa983307a Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup [02/10/2025 02:51:27.0583] [1] Setup is stopping now because of one or more critical errors. [02/10/2025 02:51:27.0583] [1] Finished executing component tasks. [02/10/2025 02:51:27.0624] [1] Ending processing Install-BridgeheadRole