Unable to create Exchange 2007 or 2010 mailboxes

  • 3608183
  • 28-Feb-2008
  • 26-Apr-2012

Environment

Novell Identity Manager 3.6.1
Novell Identity Manager Driver - Active Directory
Novell Identity Manager 3.5.1 Active Directory Driver

Situation

The following error is reported when trying to provision Exchange 2007 or 2010 mail boxes:

Exchange 2007 Exception. code:0x000000f2 Error completing exchange 2007 command. ERROR: Database"WDEXCH62\WDEXCH62_SG01\Priv1SG01(WDEXCH62)" was not found. Please make sure you have typed it correctly.
 
A similar error may happen for Exchange 2010, or it may say something like "IDM Exchange Service Response ERROR;  No provisioning handler is installed".

Resolution

One possible explanation is a rights issue. Please try the following solution:

1. Run the IDM_AD_Ex2007_Service or IDM_AD_Ex2010_Service as the same AD domain user configured in the AD Driver's 'Authentication ID' field.
2. Make sure that the User has enough rights to manage Exchange. In some environments being member of Domain Admins is not enough to be able to administer Exchange.
3. Login to the machine where the RL is running and start an Exchange Powershell command shell. Type the same command used by the driver in this shell. You can copy it from the IDM trace. Make sure that the command does not reference a user that has not been provisioned into Exchange.

Sample command from a trace:

Enable-Mailbox -Identity 'CN=tester,OU=Users,OU=Novell IT,OU=Clients,DC=addev,DC=novell,DC=net,DC=au' -Alias 'sgtester' -Database'CN=Priv1SG01(WDEXCH62),CN=WDEXCH62_SG01,CN=InformationStore,CN=WDEXCH62,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=novell,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=addev,DC=novell,DC=net,DC=au'
 
The Active Directory driver creates, moves, and disables mailboxes.
The powershell commands supported by the driver are
 
- Enable-Mailbox: -Identity, -Alias, -Database -DomainController
- Disable-Mailbox: -Identity, -DomainController, -Confirm
- Move-Mailbox: -Identity, -TargetDatabase, -DomainController, -Confirm