The_Exchange_Team LukasSMSFT
I know this was release sometime ago and this is not a support forum. Just wanted bring the common issue (as per what I see) to awareness. The new CU14 failed with "/mode:recoverserver". I need to recover a server in the prod and always hitting error at the stage "Mailbox role: Front End Transport service", I tried in vm with just a dc and a exchange server and I get the exact error.
-----------------------------------------------------------------------------------------
Microsoft Exchange Server 2019 Cumulative Update 14 Unattended Setup
You need to accept the license terms to install Microsoft Exchange Server 2019. To read the license agreement, visit http://go.microsoft.com/fwlink/p/?LinkId=150127. To accept the license agreement, add the /IAcceptExchangeServerLicenseTerms_DiagnosticDataON or /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF parameter to the command you're running. For more information, run setup /?.
C:\Users\administrator.D>E:\setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /mode:recoverserver
Microsoft Exchange Server 2019 Cumulative Update 14 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Mailbox service
Management tools
Mailbox role: Client Access Front End service
Mailbox role: Front End Transport service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis 100%
Setup can't detect a Send connector with an address space of '*'. Mail flow to the Internet may not work properly.
For more information, visit: https://learn.microsoft.com/Exchange/plan-and-deploy/deployment-ref/ms-exch-setupreadiness-NoConnectorToStar?view=exchserver-2019
Configuring Microsoft Exchange Server
Preparing Setup COMPLETED
Stopping Services COMPLETED
Copying Exchange Files COMPLETED
Language Files COMPLETED
Restoring Services COMPLETED
Language Configuration COMPLETED
Mailbox role: Transport service COMPLETED
Mailbox role: Client Access service 100%
The following error was generated when "$error.Clear();
Get-PushNotificationsVirtualDirectory
-ShowMailboxVirtualDirectories -server $RoleFqdnOrName -DomainController $RoleDomainController |
Remove-PushNotificationsVirtualDirectory -DomainController $RoleDomainController;
New-PushNotificationsVirtualDirectory -Role Mailbox -OAuthAuthentication:$RoleIsDatacenter -DomainController
$RoleDomainController -ExtendedProtectionTokenChecking $RoleEPTokenCheckingRequireOrNone;
" was run:
"System.Management.Automation.ParameterBindingException: Cannot bind parameter 'ExtendedProtectionTokenChecking' to the
target. Exception setting "ExtendedProtectionTokenChecking": "Cannot convert null to type
"Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtendedProtectionTokenCheckingMode" due to enumeration values
that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are
"None,Allow,Require"." ---> System.Management.Automation.SetValueInvocationException: Exception setting
"ExtendedProtectionTokenChecking": "Cannot convert null to type
"Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtendedProtectionTokenCheckingMode" due to enumeration values
that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are
"None,Allow,Require"." ---> System.Management.Automation.PSInvalidCastException: Cannot convert null to type
"Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtendedProtectionTokenCheckingMode" due to enumeration values
that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are
"None,Allow,Require".
at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object
valueToConvert, Type resultType)
at lambda_method(Closure , Object , Object )
at
System.Management.Automation.ReflectionParameterBinder.BindParameter(String name, Object value,
CompiledCommandParameter parameterMetadata)
--- End of inner exception stack trace ---
at
System.Management.Automation.ReflectionParameterBinder.BindParameter(String name, Object value,
CompiledCommandParameter parameterMetadata)
at
System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter,
CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
--- End of inner exception stack trace ---
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter,
CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
at
System.Management.Automation.CmdletParameterBinderController.BindParameter(CommandParameterInternal argument,
MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)
at
System.Management.Automation.CmdletParameterBinderController.BindParameter(UInt32 parameterSets,
CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)
at
System.Management.Automation.CmdletParameterBinderController.BindParameters(UInt32 parameterSets, Collection`1
arguments)
at
System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1
arguments)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1
arguments)
at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
at
System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
at
System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
at
System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
at
System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
--- End of stack
trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at
System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][]
pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext
funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
<SystemDrive>:\ExchangeSetupLogs folder.