, HI,
yesterday, after installing the latest CU 2016 update CU23 Nov23SU 15.1.2507.35, we encountered some strange behavior with some Exchange Powershell commands:
for example: Get-ExchangeServer | Test-MAPIConnectivity
but if I run a single command, Get-ExchangeServer and Test-MAPIConnectivity, not in pipes, it works.
Furthermore, the script to move db between nodes, stops to work:
.\RedistributeActiveDatabases.ps1 -DagName "DAG" -BalanceDbsByActivationPreference -SkipMoveSuppressionCh
ecks
Cannot convert value "DAG" to type "Microsoft.Exchange.Data.Directory.SystemConfiguration.DatabaseAvailabilityGroup". Error: "Cannot convert the "DAG"
value of type "Deserialized.Microsoft.Exchange.Data.Directory.SystemConfiguration.DatabaseAvailabilityGroup" to type
"Microsoft.Exchange.Data.Directory.SystemConfiguration.DatabaseAvailabilityGroup"."
At C:\Program Files\Microsoft\Exchange Server\V15\scripts\RedistributeActiveDatabases.ps1:2815 char:3
+ $script:dag = Get-DatabaseAvailabilityGroup $DagName -Status
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (:) [], ArgumentTransformationMetadataException
+ FullyQualifiedErrorId : RuntimeException
Log-Error : [09:07:47.004 UTC] Could not find DAG matching 'cartero-dag'!
At C:\Program Files\Microsoft\Exchange Server\V15\scripts\RedistributeActiveDatabases.ps1:2820 char:3
+ Log-Error ($RedistributeActiveDatabases_LocalizedStrings.res_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Log-Error
Get-ExchangeServer | Test-MAPIConnectivity
The operation couldn't be performed because object 'XXXXXXX' couldn't be found on 'ADXXX.domain.com'.
+ CategoryInfo : NotSpecified: (:) [Test-MAPIConnectivity], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=XXXXX,RequestId=812991b5-efa7-4049-a31d-a989fa3456b6,TimeStamp=16/11/2023 08:53:21] [FailureCategory=Cmdlet-ManagementObjectNotFoun
dException] 186247B,Microsoft.Exchange.Monitoring.TestMapiConnectivity
+ PSComputerName : XXXXX.domain.com
The operation couldn't be performed because object 'XXXXX' couldn't be found on 'AD4XXX.domain.com'.
+ CategoryInfo : NotSpecified: (:) [Test-MAPIConnectivity], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=XXXXX,RequestId=812991b5-efa7-4049-a31d-a989fa3456b6,TimeStamp=16/11/2023 08:53:21] [FailureCategory=Cmdlet-ManagementObjectNotFoun
dException] 915C3018,Microsoft.Exchange.Monitoring.TestMapiConnectivity
+ PSComputerName : XXXXX.domain.com