Installing CU1 on an Exchange 2016 with a second ActiveSync virtual directory added fails. Installation fails at step 16 of 18 with error The following error was generated when "$error.Clear();
$fe = get-ActiveSyncVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
if ($fe -eq $null)
{
new-ActiveSyncVirtualDirectory -DomainController $RoleDomainController -Role ClientAccess;
}
else
{
update-ActiveSyncVirtualDirectory $fe -DomainController $RoleDomainController -InstallIsapiFilter $true
}
" was run: "System.Management.Automation.ParameterBindingException: Cannot convert 'System.Object[]' to the type 'Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter' required by parameter 'Identity'. Specified method is not supported. ---> System.NotSupportedException: Specified method is not supported.
at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)
--- End of inner exception stack trace ---
Only after removing the second ActiveSync virtual directory, the CU1 would install. This is not good since we should be able too add a second EAS virtual directory.