System:
Windows Server 2019
Exchange 2019 CU12 installed -> Update to CU13
During the update we get the following error:
Error:
The following error was generated when "$error.Clear();
($PushNotificationVDConfig = Get-PushNotificationsVirtualDirectory -ShowMailboxVirtualDirectories -server $RoleFqdnOrName -DomainController $RoleDomainController) | Remove-PushNotificationsVirtualDirectory -DomainController $RoleDomainController;
New-PushNotificationsVirtualDirectory -Role Mailbox -OAuthAuthentication:$RoleIsDatacenter -DomainController $RoleDomainController -RequireSSL $PushNotificationVDConfig.RequireSSL -ExtendedProtectionFlags $PushNotificationVDConfig.ExtendedProtectionFlags -ExtendedProtectionSPNList $PushNotificationVDConfig.ExtendedProtectionSPNList -ExtendedProtectionTokenChecking $PushNotificationVDConfig.ExtendedProtectionTokenChecking;
" was run: "System.Management.Automation.ParameterBindingException: Cannot bind argument to parameter 'RequireSSL' because it is null.
at System.Management.Automation.ParameterBinderBase.HandleNullParameterForSpecialTypes(CommandParameterInternal argument, String parameterName, Type toType, Object currentValue)
at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)
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 update fails and I retried this with the same result.
I already tried to change the value of IIS -> Sites -> Exchange Back End -> PushNotifications -> SSL Settings
as well as SSL Settings for the "bin" path within Exchange Back End -> PushNotifications.
I tried to deactivate it, Activate Ignore and Activate Accept.
Result does not change, every time the update process quits with this error.
I tried to download the ISO again, same result.
Tampering with the corresponding DLL is not an option because the installer will not load the DLLs (understandably)
It feels like the entire VirtualDirectory is missing or was missing to begin with since it is being removed at the beginning of the command and is supposed to be recreated ?
$PushNotificationVDConfig = Get-PushNotificationsVirtualDirectory -ShowMailboxVirtualDirectories -server $RoleFqdnOrName -DomainController $RoleDomainController) | Remove-PushNotificationsVirtualDirectory -DomainController $RoleDomainController;
I am currently struggeling to find ideas