Environment
NetIQ Identity Manager - Remote Loader
NetIQ Identtiy Manager - IDM Exchange PowerShell Service
Microsoft Exchange 2013
Microsoft Exchange 2010
Situation
Exchange: IDM PowerShell Service Response ERROR: The term 'Enable-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Resolution
- it is not required to install the Exchange Management Tools on the Remote Loader Server
- as there is no way to control which Exchange server the Service is talking to, Exchange Management Tools must be installed on all Exchange Servers
- if the IDM PowerShell Service is run as "local system", then the server where it runs must be a member of "Organizational Management"
- if the IDM PowerShell Service is run as a user, then the user must be a member of "Recipient Management" and "View-Only Organization Management” (this is the preferred option)
Verify that all exchange servers are configured to allow remote PowerShell connections. The above error has been seen when only certain exchange servers allow remote connections, not all of them.
If the all the above rights/configuration check out properly and the error is still encountered, ensure that there is only instance of the AD driver shim configured on the server where the service is running.