I have found other posts about this with different ideas but I am still
uncertain if this is possible.

Current setup:

IDM 4.5.3
AD driver version
Exchange 2010

Driver is set up with round robin, meaning the defer option.

The customer would like to change the round load balancing so that it
chooses the database with the most space available. This is due to their
backup system, so moving some mailboxes to even it all out is not
possible (or quite difficult).

So, I was thinking about doing it like so:

Create a powershell script that is called from the AD driver, which
calculates what mailbox to create the mailbox on -> return the result to
the driver -> provision the mailbox.

But, as far as I know, when calling a script from the driver, like so:

<do-set-dest-attr-value name="PSExecute">
<arg-value type="string">
<token-text xml:space="preserve">Disable-ADAccount -Identity </token-text>
<token-local-variable name="identityname"/>

Will only return this:

<status level="success"

And it will take some time for it to get that back. I don't think it
will be possible to sort of pause the event and wait for the response
from Powershell (containing the database name) and then provision the

How would I go about doing this?

Thanks in advance,


jacmarpet's Profile: https://forums.netiq.com/member.php?userid=415
View this thread: https://forums.netiq.com/showthread.php?t=57149