ADDriver: IDM Exchange Service Response ERROR:ERROR : activedirectory.psd1' module cannot be imported because its manifest contains one or more members that are not valid.

  • 7021105
  • 18-Jul-2017
  • 18-Jul-2017

Environment

NetIQ Identity Manager 4.5
Active Directory Driver 4.0.2.1
Exchange 2010

Situation

When attempting to create an Exchange 2010 account using the Active Directory driver, the account is created but the following error is received.

DirXML: [07/13/17 16:04:44.04]: ADDriver: IDM Exchange Service Response ERROR:ERROR : The 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\activedirectory\activedirectory.psd1' module cannot be imported because its manifest contains one or more members that are not valid. The valid manifest members are ('ModuleToProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion', 'Description', 'PowerShellVersion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'RequiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'FunctionsToExport', 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the members that are not valid ('HelpInfoUri'), then try to import the module again.


Resolution

The remote loader is running on a Windows 2012 R2 server and was using the IDMEx2010Service.exe service.

In the Active Directory Driver documentation, Section D.0 Configuring PowerShell Support, Subsection D.2 System Requirements, it states:
In Exchange Server 2010 environments, the name of the service file is IDMEx2010Service.exe. However, on Windows Server 2012, you must use IDMPowerShellService instead of IDMEx2010Service.

Uninstalling the IDMEx2010Service.exe and installing the IDMPowerShellService allowed the account to be created without errors.