When testing the
Enable-mailbox command of a Microsoft Exchange 2010 AFX Connector using Test Connector Capabilities (
AFX >
Connectors > {
connector-name} > T
est Connector Capabilities), the following error message displays in the user interface:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 2>&1 | Write-Host; if($?) {Enable-Mailbox '${Identity}' 2>&1 | Write-Host;}
Total number of processing errors = 1 Iteration 0 Parameter Name Value Identity user.test Error code = 1
Failed Cause: Enable-Mailbox : Value cannot be null. Parameter name: serverSettings At line:1 char:102 + Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 2>&1 | Write-Host ; if($?) {Enable-Mailbox <<<< 'user.test' 2>&1 | Write-Host;} + CategoryInfo : NotSpecified: (:) [Enable-Mailbox], ArgumentNull Exception + FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Exchange. Management.RecipientTasks.EnableMailbox