000038089 - Microsoft Exchange 2010 AFX connector Enable-mailbox command fails with 'Value cannot be null' in RSA Identity Governance & Lifecycle

Document created by RSA Customer Support Employee on Oct 29, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000038089
Applies ToRSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: All
IssueWhen testing the Enable-mailbox command of a Microsoft Exchange 2010 AFX connector using Test Connector Capabilities (AFX > Connectors > {connector-name} > Test 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
CauseThis error occurs when Powershell has not been configured correctly.
ResolutionNOTE: This problem and resolution have only been verified using the Microsoft Exchange 2010 AFX connector.

When configuring the PowerShell Server, uncheck the Enable Impersonation box.
User-added image